Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.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.TestPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") [: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.003512/0.003512, allocations: 181.5 kB / 7.457 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.326/1.326, allocations: 194.2 MB / 202.1 MB, free: 8.75 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.002014/0.002014, allocations: 125.3 kB / 247.1 MB, free: 6.305 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.1826/0.1826, allocations: 39.95 MB / 331.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.632e-06/6.672e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.038/5.144, allocations: 2.595 GB / 3.032 GB, free: 151.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/5.144, allocations: 81.23 kB / 3.032 GB, free: 151.6 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd: time 1.212/6.356, allocations: 406.4 MB / 3.429 GB, free: 61.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.418e-05/6.356, allocations: 12.8 kB / 3.429 GB, free: 61.77 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.007868/6.364, allocations: 1.535 MB / 3.431 GB, free: 61.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.303e-05/6.364, allocations: 11.5 kB / 3.431 GB, free: 61.01 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/6.367, allocations: 257.2 kB / 3.431 GB, free: 60.98 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/6.368, allocations: 447.4 kB / 3.431 GB, free: 60.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/6.368, allocations: 14.03 kB / 3.431 GB, free: 60.75 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/6.368, allocations: 22.28 kB / 3.431 GB, free: 60.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008595/6.369, allocations: 353.1 kB / 3.432 GB, free: 60.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008358/6.37, allocations: 468.6 kB / 3.432 GB, free: 60.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/6.37, allocations: 3.281 kB / 3.432 GB, free: 60.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/6.37, allocations: 6.062 kB / 3.432 GB, free: 60.57 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/6.37, allocations: 15.16 kB / 3.432 GB, free: 60.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1394/6.51, allocations: 50.54 MB / 3.481 GB, free: 40.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/6.51, allocations: 178.3 kB / 3.482 GB, free: 40.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/6.51, allocations: 99.27 kB / 3.482 GB, free: 40.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09806/6.608, allocations: 49.73 MB / 3.53 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/6.608, allocations: 46.67 kB / 3.53 GB, free: 6.879 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 2.284e-06/6.608, allocations: 0 / 3.53 GB, free: 6.879 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.002303/6.611, allocations: 0.526 MB / 3.531 GB, free: 6.359 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/6.611, allocations: 106.8 kB / 3.531 GB, free: 6.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/6.611, allocations: 285.9 kB / 3.531 GB, free: 5.945 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/6.611, allocations: 25.7 kB / 3.531 GB, free: 5.914 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/6.611, allocations: 253.8 kB / 3.531 GB, free: 5.664 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.334e-05/6.611, allocations: 74.94 kB / 3.531 GB, free: 5.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/6.611, allocations: 0 / 3.531 GB, free: 5.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/6.611, allocations: 354.7 kB / 3.532 GB, free: 5.234 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/6.612, allocations: 96.86 kB / 3.532 GB, free: 5.137 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/6.612, allocations: 289 kB / 3.532 GB, free: 4.766 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/6.613, allocations: 256 kB / 3.532 GB, free: 4.523 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/6.613, allocations: 0 / 3.532 GB, free: 4.523 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002524/6.616, allocations: 0.7591 MB / 3.533 GB, free: 3.793 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001021/6.617, allocations: 2.423 MB / 3.536 GB, free: 1.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/6.617, allocations: 12 kB / 3.536 GB, free: 1.168 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/6.617, allocations: 49.67 kB / 3.536 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/6.617, allocations: 115 kB / 3.536 GB, free: 1.012 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/6.618, allocations: 0.6744 MB / 3.536 GB, free: 324 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/6.619, allocations: 73.81 kB / 3.536 GB, free: 252 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/6.619, allocations: 27.92 kB / 3.536 GB, free: 224 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/6.619, allocations: 4 kB / 3.536 GB, free: 220 kB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/6.62, allocations: 395.3 kB / 3.537 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/6.62, allocations: 8 kB / 3.537 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/6.62, allocations: 8 kB / 3.537 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/6.621, allocations: 120.2 kB / 3.537 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/6.621, allocations: 12 kB / 3.537 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/6.621, allocations: 47.66 kB / 3.537 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/6.621, allocations: 31.98 kB / 3.537 GB, free: 15.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000193/6.622, allocations: 124.7 kB / 3.537 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005661/6.622, allocations: 183.3 kB / 3.537 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/6.624, allocations: 1.52 MB / 3.539 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.169e-05/6.625, allocations: 19.97 kB / 3.539 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/6.625, allocations: 0 / 3.539 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/6.625, allocations: 3.984 kB / 3.539 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/6.628, allocations: 2.045 MB / 3.541 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/6.628, allocations: 0 / 3.541 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/6.628, allocations: 43.97 kB / 3.541 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007313/6.629, allocations: 0.5147 MB / 3.541 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/6.629, allocations: 4 kB / 3.541 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/6.63, allocations: 1.038 MB / 3.542 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/6.63, allocations: 0 / 3.542 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002347/6.633, allocations: 1.358 MB / 3.544 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/6.633, allocations: 176.2 kB / 3.544 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/6.633, allocations: 0 / 3.544 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/6.633, allocations: 27.89 kB / 3.544 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/6.633, allocations: 31.44 kB / 3.544 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/6.634, allocations: 12 kB / 3.544 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002711/6.634, allocations: 212.6 kB / 3.544 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006069/6.64, allocations: 1.187 MB / 3.545 GB, free: 6.992 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,massFlowRate1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.009714/6.65, allocations: 1.807 MB / 3.547 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00148/6.651, allocations: 0.8073 MB / 3.548 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/6.651, allocations: 0 / 3.548 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000658/6.652, allocations: 0.5552 MB / 3.548 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009867/6.653, allocations: 149.1 kB / 3.549 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3015/6.954, allocations: 50.77 MB / 3.598 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/6.955, allocations: 0.9545 MB / 3.599 GB, free: 125 MB / 0.4948 GB Notification: Performance of SimCode: time 9.41e-07/6.955, allocations: 0 / 3.599 GB, free: 125 MB / 0.4948 GB Notification: Performance of Templates: time 0.04694/7.002, allocations: 35.58 MB / 3.634 GB, free: 122.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1)