Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01068/0.01068, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.002533/0.002533, allocations: 191.8 kB / 16.67 MB, free: 6.379 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.828/1.828, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4143/0.4143, allocations: 37.99 MB / 307.9 MB, free: 10.09 MB / 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 75.84 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3887, allocations: 56.46 MB / 489.5 MB, free: 20.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03203/0.4207, allocations: 30.09 MB / 0.5074 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02585/0.4466, allocations: 17.59 MB / 0.5246 GB, free: 208 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006389/0.4474, allocations: 17.62 kB / 0.5246 GB, free: 196 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009302/0.4483, allocations: 216.6 kB / 0.5248 GB, free: 8 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008609/0.4492, allocations: 260.7 kB / 0.525 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02905/0.4783, allocations: 6.035 MB / 0.5309 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.4803, allocations: 0.8288 MB / 0.5317 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006824/0.4811, allocations: 247.4 kB / 0.532 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02126/0.5023, allocations: 5.454 MB / 0.5373 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009279/0.5033, allocations: 243 kB / 0.5375 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.5035, allocations: 28 kB / 0.5375 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02609/0.5296, allocations: 6.314 MB / 0.5437 GB, free: 12 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004677/0.5302, allocations: 87.84 kB / 0.5438 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007092/0.5309, allocations: 191.1 kB / 0.544 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01984/0.5508, allocations: 3.844 MB / 0.5477 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.5509, allocations: 4 kB / 0.5477 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.5509, allocations: 0 / 0.5477 GB, free: 11.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.88e-05/0.5509, allocations: 0 / 0.5477 GB, free: 11.88 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.005143/0.5561, allocations: 1.041 MB / 0.5488 GB, free: 10.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.5562, allocations: 11.89 kB / 0.5488 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.5593, allocations: 196.3 kB / 0.5489 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.5604, allocations: 342.6 kB / 0.5493 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.529e-05/0.5605, allocations: 32.94 kB / 0.5493 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.5606, allocations: 24.38 kB / 0.5493 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.563, allocations: 490.8 kB / 0.5498 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.5631, allocations: 3.938 kB / 0.5498 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/0.5632, allocations: 12 kB / 0.5498 GB, free: 9.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.5632, allocations: 8 kB / 0.5498 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.5653, allocations: 409.3 kB / 0.5502 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005646/0.571, allocations: 2.418 MB / 0.5526 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.5733, allocations: 330.3 kB / 0.5529 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.5738, allocations: 108.8 kB / 0.553 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05197/0.6258, allocations: 16.52 MB / 0.5691 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.6259, allocations: 38.56 kB / 0.5692 GB, free: 3.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.6259, allocations: 0 / 0.5692 GB, free: 3.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.002206/0.6281, allocations: 0.5282 MB / 0.5697 GB, free: 3.047 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.6282, allocations: 106.8 kB / 0.5698 GB, free: 2.918 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.6286, allocations: 324.5 kB / 0.5701 GB, free: 2.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.6286, allocations: 25.7 kB / 0.5701 GB, free: 2.559 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.6288, allocations: 211.6 kB / 0.5703 GB, free: 2.348 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.6289, allocations: 47.3 kB / 0.5704 GB, free: 2.301 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.629, allocations: 61.69 kB / 0.5704 GB, free: 2.234 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6292, allocations: 342.8 kB / 0.5707 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.6295, allocations: 87.92 kB / 0.5708 GB, free: 1.805 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.6299, allocations: 224.7 kB / 0.571 GB, free: 1.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/0.6305, allocations: 289.5 kB / 0.5713 GB, free: 1.199 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6305, allocations: 4 kB / 0.5713 GB, free: 1.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007797/0.6313, allocations: 337.9 kB / 0.5716 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.6313, allocations: 8 kB / 0.5717 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6313, allocations: 4 kB / 0.5717 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.6314, allocations: 7.938 kB / 0.5717 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.6316, allocations: 76.34 kB / 0.5717 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.6317, allocations: 8 kB / 0.5717 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.6319, allocations: 47.56 kB / 0.5718 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.632, allocations: 20 kB / 0.5718 GB, free: 0.6914 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.6322, allocations: 153.8 kB / 0.572 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.6322, allocations: 35.56 kB / 0.572 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.6337, allocations: 1.097 MB / 0.5731 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.6338, allocations: 15.97 kB / 0.5731 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6338, allocations: 0 / 0.5731 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6338, allocations: 0 / 0.5731 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007495/0.6345, allocations: 0.6676 MB / 0.5737 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.6346, allocations: 4 kB / 0.5737 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.6348, allocations: 51.94 kB / 0.5738 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.6348, allocations: 0 / 0.5738 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.6348, allocations: 3.938 kB / 0.5738 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.6348, allocations: 7.938 kB / 0.5738 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6348, allocations: 3.938 kB / 0.5738 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/0.6358, allocations: 0.6154 MB / 0.5744 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.636, allocations: 128.4 kB / 0.5745 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.636, allocations: 27.62 kB / 0.5745 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.6363, allocations: 19.97 kB / 0.5746 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.6363, allocations: 23.98 kB / 0.5746 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.6364, allocations: 7.984 kB / 0.5746 GB, free: 13.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004027/0.6368, allocations: 338.9 kB / 0.5749 GB, free: 13.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6368, allocations: 0 / 0.5749 GB, free: 13.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003328/0.6401, allocations: 0.8472 MB / 0.5757 GB, free: 12.55 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005534/0.6457, allocations: 1.022 MB / 0.5767 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008899/0.6466, allocations: 352.6 kB / 0.5771 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.6466, allocations: 0 / 0.5771 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.647, allocations: 256.5 kB / 0.5773 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009984/0.648, allocations: 184.9 kB / 0.5775 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.6495, allocations: 1.02 MB / 0.5785 GB, free: 9.699 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.6499, allocations: 0.8759 MB / 0.5794 GB, free: 8.801 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003532/0.6503, allocations: 183 kB / 0.5795 GB, free: 8.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.6504, allocations: 35.44 kB / 0.5796 GB, free: 8.586 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.6504, allocations: 0 / 0.5796 GB, free: 8.586 MB / 462.1 MB Notification: Performance of Templates: time 0.04865/0.699, allocations: 34.69 MB / 0.6134 GB, free: 5.863 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1)