Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [: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.002867/0.002867, allocations: 182.9 kB / 7.458 MB, free: 2.504 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.322/1.322, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001906/0.001906, allocations: 117 kB / 247.1 MB, free: 6.348 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.1767/0.1767, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.745e-06/7.775e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.924/5.031, allocations: 2.586 GB / 3.024 GB, free: 152.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/5.031, allocations: 81.55 kB / 3.024 GB, free: 152.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.8552/5.886, allocations: 287 MB / 3.304 GB, free: 82.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.867e-05/5.886, allocations: 11.45 kB / 3.304 GB, free: 82.04 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.004963/5.891, allocations: 1.212 MB / 3.305 GB, free: 81.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/5.891, allocations: 7.25 kB / 3.305 GB, free: 81.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/5.893, allocations: 125.4 kB / 3.305 GB, free: 81.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/5.893, allocations: 349.2 kB / 3.306 GB, free: 80.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/5.893, allocations: 15.78 kB / 3.306 GB, free: 80.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/5.893, allocations: 15.75 kB / 3.306 GB, free: 80.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003618/5.894, allocations: 208.9 kB / 3.306 GB, free: 80.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/5.894, allocations: 306.3 kB / 3.306 GB, free: 80.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/5.894, allocations: 0 / 3.306 GB, free: 80.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/5.894, allocations: 3.625 kB / 3.306 GB, free: 80.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/5.894, allocations: 7.094 kB / 3.306 GB, free: 80.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/5.896, allocations: 2.205 MB / 3.308 GB, free: 78.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/5.896, allocations: 100.4 kB / 3.308 GB, free: 78.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/5.896, allocations: 51.66 kB / 3.308 GB, free: 78.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003787/5.897, allocations: 485.2 kB / 3.309 GB, free: 78.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/5.897, allocations: 34.81 kB / 3.309 GB, free: 78.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/5.897, allocations: 0 / 3.309 GB, free: 78.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007167/5.897, allocations: 225.6 kB / 3.309 GB, free: 78.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/5.898, allocations: 104.2 kB / 3.309 GB, free: 77.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/5.898, allocations: 229.1 kB / 3.309 GB, free: 77.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/5.898, allocations: 26.27 kB / 3.309 GB, free: 77.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/5.898, allocations: 200.8 kB / 3.31 GB, free: 77.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/5.898, allocations: 44.31 kB / 3.31 GB, free: 77.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/5.898, allocations: 0 / 3.31 GB, free: 77.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.95e-05/5.898, allocations: 332.1 kB / 3.31 GB, free: 77.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.49e-05/5.898, allocations: 41.56 kB / 3.31 GB, free: 77.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/5.898, allocations: 187.8 kB / 3.31 GB, free: 77.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/5.898, allocations: 90.23 kB / 3.31 GB, free: 77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/5.898, allocations: 5.312 kB / 3.31 GB, free: 77 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007778/5.899, allocations: 326.1 kB / 3.311 GB, free: 76.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/5.899, allocations: 4.938 kB / 3.311 GB, free: 76.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/5.899, allocations: 8.938 kB / 3.311 GB, free: 76.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/5.899, allocations: 6.031 kB / 3.311 GB, free: 76.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/5.9, allocations: 74.44 kB / 3.311 GB, free: 76.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/5.9, allocations: 14.38 kB / 3.311 GB, free: 76.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/5.9, allocations: 44.78 kB / 3.311 GB, free: 76.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/5.9, allocations: 17.44 kB / 3.311 GB, free: 76.84 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 (31): * Single equations (assignments): 31 * 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 7.29e-05/5.9, allocations: 107.9 kB / 3.311 GB, free: 76.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/5.9, allocations: 106.4 kB / 3.311 GB, free: 76.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009114/5.901, allocations: 0.6324 MB / 3.312 GB, free: 76.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/5.901, allocations: 6.281 kB / 3.312 GB, free: 76.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/5.901, allocations: 4 kB / 3.312 GB, free: 76.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/5.901, allocations: 1.266 kB / 3.312 GB, free: 76.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/5.902, allocations: 391.3 kB / 3.312 GB, free: 76.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/5.902, allocations: 5.688 kB / 3.312 GB, free: 76.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/5.902, allocations: 41.66 kB / 3.312 GB, free: 76.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/5.902, allocations: 4.844 kB / 3.312 GB, free: 76.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/5.902, allocations: 7.266 kB / 3.312 GB, free: 76.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/5.902, allocations: 1.875 kB / 3.312 GB, free: 76.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/5.902, allocations: 0.9688 kB / 3.312 GB, free: 76.13 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008734/5.903, allocations: 0.6061 MB / 3.313 GB, free: 75.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/5.903, allocations: 102.1 kB / 3.313 GB, free: 75.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/5.903, allocations: 5.922 kB / 3.313 GB, free: 75.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/5.903, allocations: 21.78 kB / 3.313 GB, free: 75.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/5.903, allocations: 15.09 kB / 3.313 GB, free: 75.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/5.903, allocations: 8.656 kB / 3.313 GB, free: 75.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001357/5.903, allocations: 175.6 kB / 3.313 GB, free: 75.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003973/5.907, allocations: 0.8568 MB / 3.314 GB, free: 75.41 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: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00742/5.915, allocations: 1.423 MB / 3.315 GB, free: 75.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005232/5.915, allocations: 307 kB / 3.315 GB, free: 75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/5.915, allocations: 0 / 3.315 GB, free: 75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/5.916, allocations: 266.4 kB / 3.316 GB, free: 74.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/5.917, allocations: 115 kB / 3.316 GB, free: 74.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/5.918, allocations: 0.5217 MB / 3.316 GB, free: 74.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/5.918, allocations: 0.8438 MB / 3.317 GB, free: 73.87 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/5.918, allocations: 0 / 3.317 GB, free: 73.87 MB / 490.7 MB Notification: Performance of Templates: time 0.03801/5.956, allocations: 26.49 MB / 3.343 GB, free: 52.76 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1)