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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00209/0.002091, allocations: 181.7 kB / 7.453 MB, free: 1.555 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.639/1.639, allocations: 170.6 MB / 178.4 MB, free: 4.004 MB / 146.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001773/0.001773, allocations: 107.9 kB / 217.7 MB, free: 12.74 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2006/0.2006, allocations: 37.98 MB / 294.8 MB, free: 52 kB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.382e-06, allocations: 0 / 349.5 MB, free: 29.14 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 48.7 MB / 398.2 MB, free: 12.41 MB / 274.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.89/6.003, allocations: 2.476 GB / 2.865 GB, free: 117.9 MB / 434.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/6.004, allocations: 85.98 kB / 2.865 GB, free: 117.9 MB / 434.8 MB Notification: Performance of FrontEnd: time 1.343/7.347, allocations: 300.6 MB / 3.159 GB, free: 53.3 MB / 434.8 MB Notification: Performance of Transformations before backend: time 3.145e-05/7.347, allocations: 14.31 kB / 3.159 GB, free: 53.3 MB / 434.8 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.00731/7.354, allocations: 1.284 MB / 3.16 GB, free: 52.79 MB / 434.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/7.354, allocations: 7.75 kB / 3.16 GB, free: 52.79 MB / 434.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/7.356, allocations: 203.6 kB / 3.16 GB, free: 52.77 MB / 434.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/7.357, allocations: 358 kB / 3.161 GB, free: 52.56 MB / 434.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/7.357, allocations: 11.19 kB / 3.161 GB, free: 52.56 MB / 434.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/7.357, allocations: 18.12 kB / 3.161 GB, free: 52.56 MB / 434.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004631/7.358, allocations: 236.3 kB / 3.161 GB, free: 52.55 MB / 434.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/7.358, allocations: 317 kB / 3.161 GB, free: 52.43 MB / 434.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/7.358, allocations: 3.781 kB / 3.161 GB, free: 52.43 MB / 434.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/7.358, allocations: 3.094 kB / 3.161 GB, free: 52.43 MB / 434.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/7.358, allocations: 7 kB / 3.161 GB, free: 52.43 MB / 434.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/7.36, allocations: 2.239 MB / 3.163 GB, free: 50.71 MB / 434.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/7.361, allocations: 119.3 kB / 3.163 GB, free: 50.68 MB / 434.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/7.361, allocations: 63.77 kB / 3.164 GB, free: 50.68 MB / 434.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03909/7.4, allocations: 15.81 MB / 3.179 GB, free: 42.95 MB / 434.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/7.4, allocations: 31.12 kB / 3.179 GB, free: 42.91 MB / 434.8 MB Notification: Performance of pre-optimization done (n=15): time 4.529e-06/7.4, allocations: 0 / 3.179 GB, free: 42.91 MB / 434.8 MB Notification: Performance of matching and sorting (n=15): time 0.001748/7.402, allocations: 273.9 kB / 3.179 GB, free: 42.86 MB / 434.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/7.402, allocations: 106.8 kB / 3.179 GB, free: 42.74 MB / 434.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/7.402, allocations: 239.8 kB / 3.18 GB, free: 42.63 MB / 434.8 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/7.402, allocations: 25.7 kB / 3.18 GB, free: 42.6 MB / 434.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/7.403, allocations: 197.3 kB / 3.18 GB, free: 42.47 MB / 434.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.971e-05/7.403, allocations: 45.97 kB / 3.18 GB, free: 42.45 MB / 434.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/7.403, allocations: 2.719 kB / 3.18 GB, free: 42.45 MB / 434.8 MB Notification: Performance of setup shared object (initialization): time 0.0001393/7.403, allocations: 338.6 kB / 3.18 GB, free: 42.14 MB / 434.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/7.403, allocations: 52.95 kB / 3.18 GB, free: 42.14 MB / 434.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/7.403, allocations: 185.1 kB / 3.18 GB, free: 41.96 MB / 434.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/7.404, allocations: 112.1 kB / 3.181 GB, free: 41.96 MB / 434.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/7.404, allocations: 3.688 kB / 3.181 GB, free: 41.96 MB / 434.8 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001029/7.405, allocations: 370.9 kB / 3.181 GB, free: 41.91 MB / 434.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/7.405, allocations: 5.656 kB / 3.181 GB, free: 41.91 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/7.405, allocations: 3.969 kB / 3.181 GB, free: 41.91 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/7.405, allocations: 7.562 kB / 3.181 GB, free: 41.91 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/7.406, allocations: 89.78 kB / 3.181 GB, free: 41.91 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/7.406, allocations: 13.2 kB / 3.181 GB, free: 41.91 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/7.406, allocations: 44.84 kB / 3.181 GB, free: 41.91 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/7.406, allocations: 17.5 kB / 3.181 GB, free: 41.91 MB / 434.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001352/7.406, allocations: 113.8 kB / 3.181 GB, free: 41.8 MB / 434.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006804/7.407, allocations: 132 kB / 3.181 GB, free: 41.79 MB / 434.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/7.409, allocations: 0.8337 MB / 3.182 GB, free: 41.69 MB / 434.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/7.409, allocations: 9.922 kB / 3.182 GB, free: 41.69 MB / 434.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/7.409, allocations: 7.219 kB / 3.182 GB, free: 41.69 MB / 434.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/7.409, allocations: 0 / 3.182 GB, free: 41.69 MB / 434.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/7.411, allocations: 1.227 MB / 3.183 GB, free: 41.39 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/7.411, allocations: 0 / 3.183 GB, free: 41.39 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/7.411, allocations: 45.08 kB / 3.183 GB, free: 41.39 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/7.411, allocations: 0 / 3.183 GB, free: 41.39 MB / 434.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/7.411, allocations: 13.83 kB / 3.183 GB, free: 41.39 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/7.411, allocations: 0 / 3.183 GB, free: 41.39 MB / 434.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/7.411, allocations: 0 / 3.183 GB, free: 41.39 MB / 434.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001332/7.413, allocations: 0.7434 MB / 3.184 GB, free: 41.23 MB / 434.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/7.413, allocations: 133.4 kB / 3.184 GB, free: 41.11 MB / 434.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/7.413, allocations: 7.656 kB / 3.184 GB, free: 41.11 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/7.413, allocations: 21.44 kB / 3.184 GB, free: 41.11 MB / 434.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/7.413, allocations: 16.53 kB / 3.184 GB, free: 41.11 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/7.413, allocations: 10.97 kB / 3.184 GB, free: 41.11 MB / 434.8 MB Notification: Performance of sort global known variables: time 0.0002463/7.414, allocations: 174.2 kB / 3.184 GB, free: 41.03 MB / 434.8 MB Notification: Performance of remove unused functions: time 0.006829/7.421, allocations: 0.8568 MB / 3.185 GB, free: 40.91 MB / 434.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.009558/7.43, allocations: 1.45 MB / 3.187 GB, free: 40.68 MB / 434.8 MB Notification: Performance of simCode: created initialization part: time 0.0008743/7.431, allocations: 387.3 kB / 3.187 GB, free: 40.67 MB / 434.8 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/7.431, allocations: 0 / 3.187 GB, free: 40.67 MB / 434.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004501/7.431, allocations: 344 kB / 3.187 GB, free: 40.67 MB / 434.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/7.433, allocations: 122.5 kB / 3.188 GB, free: 40.66 MB / 434.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/7.434, allocations: 0.6271 MB / 3.188 GB, free: 40.5 MB / 434.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000491/7.435, allocations: 0.8818 MB / 3.189 GB, free: 39.79 MB / 434.8 MB Notification: Performance of SimCode: time 8.62e-07/7.435, allocations: 0 / 3.189 GB, free: 39.79 MB / 434.8 MB Notification: Performance of Templates: time 0.05071/7.485, allocations: 27 MB / 3.215 GB, free: 38.78 MB / 434.8 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)