Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001549/0.001549, allocations: 103.2 kB / 17.08 MB, free: 5.969 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.001928/0.001928, allocations: 194.2 kB / 18.01 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2014/0.2014, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1264, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3981/0.5245, allocations: 163.4 MB / 0.6481 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005521/0.5301, allocations: 4.107 MB / 0.6521 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004552/0.5306, allocations: 11.94 kB / 0.6521 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006708/0.5313, allocations: 214.6 kB / 0.6523 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.5334, allocations: 0.8322 MB / 0.6531 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.5351, allocations: 0.673 MB / 0.6538 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.5366, allocations: 1.146 MB / 0.6549 GB, free: 220 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005449/0.5371, allocations: 321.5 kB / 0.6552 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008494/0.538, allocations: 482.2 kB / 0.6556 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005707/0.5386, allocations: 378.4 kB / 0.656 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.5387, allocations: 44 kB / 0.6561 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.5399, allocations: 0.5929 MB / 0.6566 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.5401, allocations: 151.5 kB / 0.6568 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003178/0.5404, allocations: 274.7 kB / 0.657 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.5418, allocations: 0.9778 MB / 0.658 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5418, allocations: 0 / 0.658 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5418, allocations: 4 kB / 0.658 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.5418, allocations: 0 / 0.658 GB, free: 13.02 MB / 0.4981 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.001838/0.5437, allocations: 0.8979 MB / 0.6589 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5437, allocations: 15.89 kB / 0.6589 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.5441, allocations: 75.31 kB / 0.659 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.5448, allocations: 414.3 kB / 0.6594 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.558e-05/0.5449, allocations: 58.7 kB / 0.6594 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.5449, allocations: 36 kB / 0.6594 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009209/0.5459, allocations: 0.5287 MB / 0.66 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.5459, allocations: 3.906 kB / 0.66 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.546, allocations: 16 kB / 0.66 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.546, allocations: 20.59 kB / 0.66 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008806/0.5469, allocations: 402.2 kB / 0.6604 GB, free: 10.44 MB / 0.4981 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.003474/0.5504, allocations: 2.487 MB / 0.6628 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008282/0.5512, allocations: 343.3 kB / 0.6631 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.5516, allocations: 157.3 kB / 0.6633 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.5517, allocations: 12.27 kB / 0.6633 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000574/0.5522, allocations: 280 kB / 0.6636 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.264e-06/0.5522, allocations: 0 / 0.6636 GB, free: 6.965 MB / 0.4981 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.01191/0.5642, allocations: 3.238 MB / 0.6667 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/0.5643, allocations: 166.2 kB / 0.6669 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.5647, allocations: 393.4 kB / 0.6673 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.5648, allocations: 33.7 kB / 0.6673 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.565, allocations: 252 kB / 0.6675 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.5651, allocations: 161.7 kB / 0.6677 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.5653, allocations: 126.2 kB / 0.6678 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5655, allocations: 362.7 kB / 0.6682 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/0.5661, allocations: 217.1 kB / 0.6684 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/0.5668, allocations: 401.1 kB / 0.6687 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.568, allocations: 0.6394 MB / 0.6694 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.568, allocations: 0.75 kB / 0.6694 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00182/0.5699, allocations: 0.7902 MB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.5699, allocations: 38.36 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.5699, allocations: 4 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004354/0.5704, allocations: 116.8 kB / 0.6703 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/0.5709, allocations: 139.7 kB / 0.6704 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005736/0.5715, allocations: 0.6656 MB / 0.6711 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.5721, allocations: 56.83 kB / 0.6711 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/0.5721, allocations: 47.98 kB / 0.6712 GB, free: 14.77 MB / 0.5137 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.0003325/0.5725, allocations: 205.5 kB / 0.6714 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.5726, allocations: 51.44 kB / 0.6714 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.5744, allocations: 0.73 MB / 0.6721 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.5744, allocations: 3.984 kB / 0.6721 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.5745, allocations: 4 kB / 0.6721 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.5747, allocations: 156.5 kB / 0.6723 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.5748, allocations: 15.98 kB / 0.6723 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.5752, allocations: 47.89 kB / 0.6724 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.5754, allocations: 56.36 kB / 0.6724 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001929/0.5773, allocations: 0.7071 MB / 0.6731 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001829/0.5792, allocations: 0.9624 MB / 0.674 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005612/0.5797, allocations: 235.3 kB / 0.6743 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002932/0.58, allocations: 267.1 kB / 0.6745 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of Backend: time 4.51e-07/0.58, allocations: 0 / 0.6745 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.5822, allocations: 0.7549 MB / 0.6753 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002244/0.5845, allocations: 1.636 MB / 0.6768 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of Templates: time 0.022/0.6065, allocations: 14.44 MB / 0.691 GB, free: 10.39 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)