Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003582/0.003582, allocations: 182.2 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.348/1.348, allocations: 194.2 MB / 202.1 MB, free: 8.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001839/0.001839, allocations: 122.3 kB / 247.1 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1815/0.1815, allocations: 39.94 MB / 331.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.294e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.899/5.003, allocations: 2.587 GB / 3.024 GB, free: 152.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/5.003, allocations: 83.47 kB / 3.024 GB, free: 152.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.8783/5.881, allocations: 308.4 MB / 3.325 GB, free: 70.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.978e-05/5.881, allocations: 12 kB / 3.325 GB, free: 70.08 MB / 490.7 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.005539/5.887, allocations: 1.318 MB / 3.327 GB, free: 68.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/5.887, allocations: 16.02 kB / 3.327 GB, free: 68.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/5.889, allocations: 215.2 kB / 3.327 GB, free: 68.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/5.889, allocations: 357.6 kB / 3.327 GB, free: 68.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/5.889, allocations: 15.98 kB / 3.327 GB, free: 68.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/5.889, allocations: 16 kB / 3.327 GB, free: 68.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004069/5.89, allocations: 225.2 kB / 3.328 GB, free: 67.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/5.89, allocations: 322.7 kB / 3.328 GB, free: 67.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/5.89, allocations: 0 / 3.328 GB, free: 67.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/5.89, allocations: 4 kB / 3.328 GB, free: 67.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/5.89, allocations: 4 kB / 3.328 GB, free: 67.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/5.893, allocations: 2.231 MB / 3.33 GB, free: 65.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/5.893, allocations: 134.3 kB / 3.33 GB, free: 64.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/5.893, allocations: 61.11 kB / 3.33 GB, free: 64.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0369/5.93, allocations: 15.81 MB / 3.346 GB, free: 47.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/5.93, allocations: 42.5 kB / 3.346 GB, free: 47.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.156e-06/5.93, allocations: 0 / 3.346 GB, free: 47.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.001087/5.931, allocations: 273.1 kB / 3.346 GB, free: 47.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/5.931, allocations: 106.8 kB / 3.346 GB, free: 47.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/5.931, allocations: 227.4 kB / 3.346 GB, free: 47.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/5.931, allocations: 29.7 kB / 3.346 GB, free: 47.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/5.931, allocations: 195.4 kB / 3.346 GB, free: 46.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/5.932, allocations: 51.28 kB / 3.347 GB, free: 46.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/5.932, allocations: 0 / 3.347 GB, free: 46.92 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.398e-05/5.932, allocations: 338.7 kB / 3.347 GB, free: 46.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.064e-05/5.932, allocations: 52.56 kB / 3.347 GB, free: 46.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/5.932, allocations: 200.4 kB / 3.347 GB, free: 46.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/5.932, allocations: 99.84 kB / 3.347 GB, free: 46.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/5.932, allocations: 4 kB / 3.347 GB, free: 46.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009563/5.933, allocations: 368.9 kB / 3.348 GB, free: 45.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/5.933, allocations: 4 kB / 3.348 GB, free: 45.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/5.933, allocations: 8 kB / 3.348 GB, free: 45.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/5.933, allocations: 4 kB / 3.348 GB, free: 45.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/5.934, allocations: 84.48 kB / 3.348 GB, free: 45.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/5.934, allocations: 7.938 kB / 3.348 GB, free: 45.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/5.934, allocations: 55.52 kB / 3.348 GB, free: 45.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/5.934, allocations: 19.98 kB / 3.348 GB, free: 45.62 MB / 490.7 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 8.234e-05/5.934, allocations: 112.9 kB / 3.348 GB, free: 45.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/5.934, allocations: 135.6 kB / 3.348 GB, free: 45.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009606/5.935, allocations: 0.8389 MB / 3.349 GB, free: 44.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/5.935, allocations: 11.98 kB / 3.349 GB, free: 44.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/5.935, allocations: 0 / 3.349 GB, free: 44.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/5.935, allocations: 0 / 3.349 GB, free: 44.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/5.937, allocations: 1.224 MB / 3.35 GB, free: 43.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/5.937, allocations: 4 kB / 3.35 GB, free: 43.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/5.937, allocations: 43.91 kB / 3.35 GB, free: 43.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/5.937, allocations: 0 / 3.35 GB, free: 43.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/5.937, allocations: 3.984 kB / 3.35 GB, free: 43.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/5.937, allocations: 4 kB / 3.35 GB, free: 43.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/5.937, allocations: 0 / 3.35 GB, free: 43.19 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008231/5.938, allocations: 0.7463 MB / 3.351 GB, free: 42.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/5.938, allocations: 108.5 kB / 3.351 GB, free: 42.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/5.938, allocations: 7.984 kB / 3.351 GB, free: 42.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/5.938, allocations: 19.98 kB / 3.351 GB, free: 42.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/5.938, allocations: 15.97 kB / 3.351 GB, free: 42.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/5.938, allocations: 8 kB / 3.351 GB, free: 42.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001428/5.938, allocations: 175.1 kB / 3.351 GB, free: 42.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004512/5.943, allocations: 0.87 MB / 3.352 GB, free: 41.21 MB / 490.7 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.007799/5.951, allocations: 1.444 MB / 3.353 GB, free: 39.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005617/5.951, allocations: 388.3 kB / 3.354 GB, free: 39.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/5.951, allocations: 0 / 3.354 GB, free: 39.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/5.951, allocations: 348.5 kB / 3.354 GB, free: 39.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007915/5.952, allocations: 116.1 kB / 3.354 GB, free: 39.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/5.953, allocations: 0.6262 MB / 3.355 GB, free: 38.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/5.954, allocations: 0.8743 MB / 3.356 GB, free: 37.49 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/5.954, allocations: 0 / 3.356 GB, free: 37.49 MB / 490.7 MB Notification: Performance of Templates: time 0.04161/5.995, allocations: 27.13 MB / 3.382 GB, free: 10.4 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1)