Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 113.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 186.1 kB / 19.39 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 243.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2145/0.2145, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3356, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1887/0.5244, allocations: 160.5 MB / 0.6763 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003483/0.5279, allocations: 1.676 MB / 0.6779 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000569/0.5285, allocations: 19.88 kB / 0.678 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007991/0.5293, allocations: 202.7 kB / 0.6781 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.5323, allocations: 0.7805 MB / 0.6789 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.5349, allocations: 0.6816 MB / 0.6796 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.5371, allocations: 1.146 MB / 0.6807 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006747/0.5377, allocations: 326.9 kB / 0.681 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.5388, allocations: 478.2 kB / 0.6815 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000769/0.5396, allocations: 382.4 kB / 0.6818 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.5398, allocations: 44 kB / 0.6819 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.5416, allocations: 0.5656 MB / 0.6824 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.5419, allocations: 155.5 kB / 0.6826 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004401/0.5423, allocations: 270.7 kB / 0.6828 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.5442, allocations: 0.9694 MB / 0.6838 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5443, allocations: 4 kB / 0.6838 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5443, allocations: 0 / 0.6838 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.382e-05/0.5443, allocations: 4 kB / 0.6838 GB, free: 3.301 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002108/0.5464, allocations: 0.913 MB / 0.6847 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.5465, allocations: 12.03 kB / 0.6847 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004944/0.547, allocations: 71.66 kB / 0.6848 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007667/0.5477, allocations: 422.6 kB / 0.6852 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-05/0.5478, allocations: 66.62 kB / 0.6852 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.691e-05/0.5479, allocations: 35.98 kB / 0.6853 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.549, allocations: 0.5205 MB / 0.6858 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.549, allocations: 7.938 kB / 0.6858 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.5491, allocations: 12 kB / 0.6858 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.5491, allocations: 20.64 kB / 0.6858 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.5501, allocations: 402.2 kB / 0.6862 GB, free: 0.6992 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.5534, allocations: 2.495 MB / 0.6886 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008432/0.5543, allocations: 343.4 kB / 0.6889 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.5547, allocations: 165.3 kB / 0.6891 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.5548, allocations: 12.27 kB / 0.6891 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005889/0.5554, allocations: 256.8 kB / 0.6894 GB, free: 13.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.274e-06/0.5554, allocations: 0 / 0.6894 GB, free: 13.23 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01278/0.5682, allocations: 3.253 MB / 0.6925 GB, free: 9.844 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.5683, allocations: 162.2 kB / 0.6927 GB, free: 9.648 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.5688, allocations: 385.5 kB / 0.6931 GB, free: 9.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.523e-05/0.5689, allocations: 37.7 kB / 0.6931 GB, free: 9.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.5691, allocations: 264.5 kB / 0.6933 GB, free: 8.957 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.5692, allocations: 170.6 kB / 0.6935 GB, free: 8.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.5694, allocations: 126.3 kB / 0.6936 GB, free: 8.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.5697, allocations: 354.8 kB / 0.694 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006479/0.5703, allocations: 217.1 kB / 0.6942 GB, free: 8.094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/0.5711, allocations: 409.1 kB / 0.6946 GB, free: 7.613 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.5725, allocations: 0.6278 MB / 0.6952 GB, free: 6.914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.5725, allocations: 8 kB / 0.6952 GB, free: 6.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002021/0.5745, allocations: 0.791 MB / 0.696 GB, free: 6.098 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/0.5746, allocations: 41.69 kB / 0.696 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.5746, allocations: 12 kB / 0.696 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004554/0.5751, allocations: 108.8 kB / 0.6961 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/0.5757, allocations: 135.8 kB / 0.6962 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006006/0.5763, allocations: 0.6889 MB / 0.6969 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005706/0.5769, allocations: 43.95 kB / 0.697 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.5769, allocations: 44 kB / 0.697 GB, free: 4.996 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003295/0.5773, allocations: 201.7 kB / 0.6972 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.5774, allocations: 47.72 kB / 0.6972 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.5795, allocations: 0.7406 MB / 0.698 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.5795, allocations: 0 / 0.698 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5795, allocations: 0 / 0.698 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.5798, allocations: 168.7 kB / 0.6981 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.58, allocations: 4 kB / 0.6981 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/0.5804, allocations: 47.95 kB / 0.6982 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.5806, allocations: 64.34 kB / 0.6982 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002123/0.5828, allocations: 0.7032 MB / 0.6989 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002054/0.5848, allocations: 0.9548 MB / 0.6999 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006159/0.5855, allocations: 243.3 kB / 0.7001 GB, free: 1.762 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003282/0.5858, allocations: 271.1 kB / 0.7003 GB, free: 1.5 MB / 0.545 GB Notification: Performance of Backend: time 2.024e-06/0.5858, allocations: 4 kB / 0.7003 GB, free: 1.496 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002304/0.5881, allocations: 0.7187 MB / 0.7011 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of SimCode: time 0.002439/0.5906, allocations: 1.662 MB / 0.7027 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.02382/0.6144, allocations: 13.94 MB / 0.7163 GB, free: 1.211 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)