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.001134/0.001134, allocations: 110.8 kB / 18.46 MB, free: 4.613 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.001145/0.001145, allocations: 179 kB / 19.38 MB, free: 3.695 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.338/1.338, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2189/0.2189, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3277, allocations: 60.82 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1784/0.5062, allocations: 160.5 MB / 0.6763 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003217/0.5095, allocations: 1.668 MB / 0.6779 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005434/0.51, allocations: 15.88 kB / 0.6779 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000745/0.5108, allocations: 206.6 kB / 0.6781 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.5133, allocations: 0.7885 MB / 0.6789 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.515, allocations: 0.666 MB / 0.6796 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.5164, allocations: 1.15 MB / 0.6807 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004999/0.5169, allocations: 322.9 kB / 0.681 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008945/0.5178, allocations: 482.2 kB / 0.6815 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005741/0.5184, allocations: 382.5 kB / 0.6818 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.5185, allocations: 44 kB / 0.6819 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.5197, allocations: 0.5695 MB / 0.6824 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.5199, allocations: 155.5 kB / 0.6826 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.5203, allocations: 274.7 kB / 0.6828 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.522, allocations: 0.9733 MB / 0.6838 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.522, allocations: 0 / 0.6838 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.522, allocations: 0 / 0.6838 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.013e-05/0.522, allocations: 0 / 0.6838 GB, free: 3.332 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.00224/0.5243, allocations: 0.9131 MB / 0.6847 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.5243, allocations: 8.031 kB / 0.6847 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.5248, allocations: 75.64 kB / 0.6847 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006675/0.5254, allocations: 418.6 kB / 0.6851 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.27e-05/0.5255, allocations: 62.62 kB / 0.6852 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.5256, allocations: 36 kB / 0.6852 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009492/0.5266, allocations: 0.5244 MB / 0.6858 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.5266, allocations: 0 / 0.6858 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/0.5267, allocations: 23.98 kB / 0.6858 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.5267, allocations: 12.66 kB / 0.6858 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008966/0.5276, allocations: 410.1 kB / 0.6862 GB, free: 0.7305 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.003115/0.5307, allocations: 2.499 MB / 0.6886 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007612/0.5315, allocations: 343.4 kB / 0.6889 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/0.5319, allocations: 165.2 kB / 0.6891 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.5319, allocations: 4.281 kB / 0.6891 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/0.5325, allocations: 272.8 kB / 0.6894 GB, free: 13.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 3.687e-06/0.5325, allocations: 3.984 kB / 0.6894 GB, free: 13.25 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.01142/0.5439, allocations: 3.241 MB / 0.6925 GB, free: 9.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.544, allocations: 158.2 kB / 0.6927 GB, free: 9.684 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.5445, allocations: 389.5 kB / 0.6931 GB, free: 9.293 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.5445, allocations: 33.7 kB / 0.6931 GB, free: 9.254 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.5447, allocations: 268.5 kB / 0.6933 GB, free: 8.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.5449, allocations: 166.6 kB / 0.6935 GB, free: 8.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.5451, allocations: 126.3 kB / 0.6936 GB, free: 8.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5453, allocations: 358.8 kB / 0.694 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/0.5459, allocations: 213.2 kB / 0.6942 GB, free: 8.129 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/0.5466, allocations: 413.1 kB / 0.6946 GB, free: 7.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.5478, allocations: 0.6394 MB / 0.6952 GB, free: 6.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5478, allocations: 0 / 0.6952 GB, free: 6.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001844/0.5497, allocations: 0.7833 MB / 0.696 GB, free: 6.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.5498, allocations: 45.66 kB / 0.696 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.5498, allocations: 8 kB / 0.696 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/0.5502, allocations: 112.8 kB / 0.6961 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.5508, allocations: 139.8 kB / 0.6962 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006014/0.5514, allocations: 0.6811 MB / 0.6969 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.5519, allocations: 51.95 kB / 0.697 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/0.552, allocations: 44.03 kB / 0.697 GB, free: 5.023 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.0003146/0.5523, allocations: 197.6 kB / 0.6972 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.5524, allocations: 47.72 kB / 0.6972 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.5544, allocations: 0.7329 MB / 0.698 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.5544, allocations: 3.984 kB / 0.698 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5544, allocations: 3.938 kB / 0.698 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.5547, allocations: 160.7 kB / 0.6981 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.463e-05/0.5548, allocations: 12 kB / 0.6981 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.5552, allocations: 47.94 kB / 0.6982 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.5553, allocations: 56.36 kB / 0.6982 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001983/0.5573, allocations: 0.7072 MB / 0.6989 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001879/0.5592, allocations: 0.9626 MB / 0.6999 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006182/0.5598, allocations: 235.3 kB / 0.7001 GB, free: 1.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003154/0.5602, allocations: 279.1 kB / 0.7003 GB, free: 1.527 MB / 0.545 GB Notification: Performance of Backend: time 2.034e-06/0.5602, allocations: 0 / 0.7003 GB, free: 1.527 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002188/0.5624, allocations: 0.717 MB / 0.701 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of SimCode: time 0.002434/0.5648, allocations: 1.655 MB / 0.7027 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.02263/0.5875, allocations: 13.94 MB / 0.7163 GB, free: 1.246 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)