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.001102/0.001102, allocations: 111.6 kB / 17.09 MB, free: 5.996 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.001204/0.001205, allocations: 191.3 kB / 18.02 MB, free: 5.082 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.386/1.386, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2175/0.2175, allocations: 43.52 MB / 314.8 MB, free: 472 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.001562/0.001562, allocations: 67.91 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1293, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4534/0.5828, allocations: 163.4 MB / 0.6481 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006473/0.5893, allocations: 4.101 MB / 0.6521 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/0.59, allocations: 15.88 kB / 0.6521 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.591, allocations: 214.6 kB / 0.6523 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.5938, allocations: 0.8484 MB / 0.6531 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.5958, allocations: 0.6688 MB / 0.6538 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001787/0.5976, allocations: 1.143 MB / 0.6549 GB, free: 192 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005937/0.5982, allocations: 325 kB / 0.6552 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.5993, allocations: 486.2 kB / 0.6557 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.6001, allocations: 378.5 kB / 0.656 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.6002, allocations: 44 kB / 0.6561 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.6018, allocations: 0.5967 MB / 0.6566 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.6021, allocations: 155.5 kB / 0.6568 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004873/0.6026, allocations: 270.7 kB / 0.6571 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.6048, allocations: 0.9738 MB / 0.658 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.6048, allocations: 3.984 kB / 0.658 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.026e-06/0.6048, allocations: 8 kB / 0.658 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.095e-05/0.6048, allocations: 0 / 0.658 GB, free: 12.97 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.002599/0.6074, allocations: 0.894 MB / 0.6589 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.6075, allocations: 15.89 kB / 0.6589 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.608, allocations: 71.33 kB / 0.659 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007449/0.6087, allocations: 414.3 kB / 0.6594 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.6089, allocations: 64.95 kB / 0.6594 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/0.6089, allocations: 36 kB / 0.6595 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.6101, allocations: 0.5282 MB / 0.66 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.6102, allocations: 7.906 kB / 0.66 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/0.6102, allocations: 16 kB / 0.66 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.6103, allocations: 12.66 kB / 0.66 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.6113, allocations: 414.1 kB / 0.6604 GB, free: 10.39 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.003652/0.615, allocations: 2.468 MB / 0.6628 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009313/0.6159, allocations: 347.3 kB / 0.6632 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.6163, allocations: 157.3 kB / 0.6633 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.6164, allocations: 4.281 kB / 0.6633 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006705/0.617, allocations: 288 kB / 0.6636 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 3.897e-06/0.6171, allocations: 0 / 0.6636 GB, free: 6.93 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.01263/0.6297, allocations: 3.246 MB / 0.6667 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/0.6298, allocations: 166.2 kB / 0.6669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.6303, allocations: 385.5 kB / 0.6673 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/0.6304, allocations: 41.64 kB / 0.6673 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.6306, allocations: 252 kB / 0.6676 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.6307, allocations: 157.7 kB / 0.6677 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.6309, allocations: 126.2 kB / 0.6678 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.6311, allocations: 362.7 kB / 0.6682 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006377/0.6317, allocations: 217.1 kB / 0.6684 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/0.6324, allocations: 409.1 kB / 0.6688 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.6338, allocations: 0.6355 MB / 0.6694 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6338, allocations: 4 kB / 0.6694 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001987/0.6358, allocations: 0.7863 MB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.6358, allocations: 33.7 kB / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.6358, allocations: 8.656 kB / 0.6702 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004327/0.6363, allocations: 116.8 kB / 0.6703 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/0.6369, allocations: 135.8 kB / 0.6704 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006144/0.6375, allocations: 0.6772 MB / 0.6711 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.6381, allocations: 51.95 kB / 0.6712 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.6382, allocations: 48 kB / 0.6712 GB, free: 14.73 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.0002991/0.6385, allocations: 197.6 kB / 0.6714 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.6386, allocations: 47.44 kB / 0.6714 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.6406, allocations: 0.7421 MB / 0.6722 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.6406, allocations: 0 / 0.6722 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6406, allocations: 0.875 kB / 0.6722 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.6409, allocations: 164.5 kB / 0.6723 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.641, allocations: 12 kB / 0.6723 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/0.6415, allocations: 43.89 kB / 0.6724 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.6416, allocations: 64.34 kB / 0.6724 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002111/0.6437, allocations: 0.6994 MB / 0.6731 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002008/0.6458, allocations: 0.9585 MB / 0.674 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006033/0.6464, allocations: 235.3 kB / 0.6743 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002965/0.6467, allocations: 267.2 kB / 0.6745 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of Backend: time 4.71e-07/0.6467, allocations: 0 / 0.6745 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002249/0.6489, allocations: 0.7572 MB / 0.6753 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00241/0.6514, allocations: 1.639 MB / 0.6769 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of Templates: time 0.02308/0.6745, allocations: 14.23 MB / 0.6908 GB, free: 10.58 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)