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.001037/0.001036, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.00101/0.00101, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.4422/0.4422, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.0005765/0.0005766, allocations: 12 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1509, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.3183/0.4692, allocations: 25.41 MB / 459.3 MB, free: 34.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.485, allocations: 14.89 MB / 474.2 MB, free: 32.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004142/0.4854, allocations: 11.22 kB / 474.2 MB, free: 32.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006756/0.4861, allocations: 177.4 kB / 474.4 MB, free: 32.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.4867, allocations: 215.5 kB / 474.6 MB, free: 32.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01582/0.5025, allocations: 4.727 MB / 479.4 MB, free: 30.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008646/0.5034, allocations: 495.4 kB / 479.8 MB, free: 30.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.5037, allocations: 194.5 kB / 480 MB, free: 30.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01375/0.5175, allocations: 8.819 MB / 488.9 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004847/0.518, allocations: 175.1 kB / 489 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.5181, allocations: 15.59 kB / 489 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01479/0.5329, allocations: 6.16 MB / 495.2 MB, free: 27.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.5331, allocations: 71.09 kB / 495.3 MB, free: 27.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.5334, allocations: 96.7 kB / 495.4 MB, free: 27.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008418/0.5418, allocations: 2.565 MB / 497.9 MB, free: 27.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5419, allocations: 5.438 kB / 497.9 MB, free: 27.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.5419, allocations: 0.5156 kB / 497.9 MB, free: 27.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.5419, allocations: 0 / 497.9 MB, free: 27.31 MB / 382.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.005157/0.5471, allocations: 0.9753 MB / 498.9 MB, free: 26.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5471, allocations: 9.938 kB / 498.9 MB, free: 26.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.5489, allocations: 208.1 kB / 499.1 MB, free: 26.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.5494, allocations: 319.4 kB / 499.4 MB, free: 26.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.5494, allocations: 24.91 kB / 499.5 MB, free: 26.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.5495, allocations: 24.69 kB / 499.5 MB, free: 26.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.5508, allocations: 0.4906 MB / 500 MB, free: 26.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.5508, allocations: 2.781 kB / 500 MB, free: 26.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.5508, allocations: 12.42 kB / 500 MB, free: 26.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.5508, allocations: 7.719 kB / 500 MB, free: 26.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.5521, allocations: 442.8 kB / 0.4887 GB, free: 25.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.5551, allocations: 2.444 MB / 0.4911 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.5563, allocations: 361 kB / 0.4914 GB, free: 23.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03341/0.5897, allocations: 16.62 MB / 0.5077 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.5898, allocations: 35.94 kB / 0.5077 GB, free: 12.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.284e-06/0.5898, allocations: 4 kB / 0.5077 GB, free: 12.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.002148/0.5919, allocations: 0.5655 MB / 0.5082 GB, free: 12.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.592, allocations: 106 kB / 0.5083 GB, free: 12.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.5924, allocations: 316.1 kB / 0.5086 GB, free: 11.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.5924, allocations: 31.08 kB / 0.5087 GB, free: 11.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.5925, allocations: 214.9 kB / 0.5089 GB, free: 11.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.5926, allocations: 42.23 kB / 0.5089 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.5926, allocations: 7.938 kB / 0.5089 GB, free: 11.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.5927, allocations: 339.1 kB / 0.5093 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.5929, allocations: 104.6 kB / 0.5094 GB, free: 11.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.5933, allocations: 222.8 kB / 0.5096 GB, free: 11.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.5935, allocations: 130.1 kB / 0.5097 GB, free: 10.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5935, allocations: 6.953 kB / 0.5097 GB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006695/0.5942, allocations: 354.5 kB / 0.51 GB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.5943, allocations: 6.625 kB / 0.51 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5943, allocations: 6.281 kB / 0.51 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.5943, allocations: 3.25 kB / 0.5101 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.5946, allocations: 79.67 kB / 0.5101 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5946, allocations: 5.344 kB / 0.5101 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.5949, allocations: 51.58 kB / 0.5102 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.5949, allocations: 15.27 kB / 0.5102 GB, free: 10.73 MB / 382.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_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 initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.5951, allocations: 164.1 kB / 0.5104 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.5951, allocations: 36.86 kB / 0.5104 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.5964, allocations: 1.149 MB / 0.5115 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.5964, allocations: 15.31 kB / 0.5115 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5964, allocations: 2.875 kB / 0.5115 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5964, allocations: 0 / 0.5115 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.597, allocations: 0.6669 MB / 0.5122 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.597, allocations: 0 / 0.5122 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.5972, allocations: 61.64 kB / 0.5122 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5973, allocations: 0 / 0.5122 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.5973, allocations: 6.562 kB / 0.5122 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5973, allocations: 3.984 kB / 0.5122 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5973, allocations: 3.562 kB / 0.5123 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007182/0.598, allocations: 0.6356 MB / 0.5129 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.5981, allocations: 199.2 kB / 0.5131 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.5982, allocations: 3.219 kB / 0.5131 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.5984, allocations: 33.89 kB / 0.5131 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.5985, allocations: 23.61 kB / 0.5131 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.5985, allocations: 6.594 kB / 0.5131 GB, free: 8.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003029/0.5988, allocations: 332.5 kB / 0.5134 GB, free: 8.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5988, allocations: 2.781 kB / 0.5134 GB, free: 8.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005291/0.6041, allocations: 0.8449 MB / 0.5143 GB, free: 8.16 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00629/0.6104, allocations: 1.02 MB / 0.5153 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008198/0.6113, allocations: 365.2 kB / 0.5156 GB, free: 6.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6113, allocations: 4 kB / 0.5156 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.6116, allocations: 264.5 kB / 0.5159 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009164/0.6126, allocations: 177.7 kB / 0.516 GB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.6139, allocations: 1.264 MB / 0.5173 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.6143, allocations: 0.8917 MB / 0.5181 GB, free: 20.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003246/0.6146, allocations: 182 kB / 0.5183 GB, free: 19.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.6147, allocations: 39.42 kB / 0.5184 GB, free: 19.93 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6147, allocations: 0 / 0.5184 GB, free: 19.93 MB / 398.1 MB Notification: Performance of Templates: time 0.05048/0.6652, allocations: 34.52 MB / 0.5521 GB, free: 1.391 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: