Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.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.TestPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.002704/0.002703, allocations: 176.7 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.412/1.412, allocations: 170.6 MB / 178.4 MB, free: 15.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001933/0.001933, allocations: 120.4 kB / 217.7 MB, free: 8.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2174/0.2174, allocations: 37.97 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.598e-06/9.628e-06, allocations: 1.5 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1325, allocations: 48.7 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.957/6.09, allocations: 2.484 GB / 2.873 GB, free: 25.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/6.09, allocations: 89.11 kB / 2.873 GB, free: 25.55 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.729/7.82, allocations: 396.4 MB / 3.26 GB, free: 41.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.463e-05/7.82, allocations: 11.5 kB / 3.26 GB, free: 41.24 MB / 426.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.0079/7.828, allocations: 1.487 MB / 3.262 GB, free: 40.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/7.828, allocations: 10.78 kB / 3.262 GB, free: 40.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/7.83, allocations: 253 kB / 3.262 GB, free: 40.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/7.832, allocations: 445.5 kB / 3.262 GB, free: 40.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/7.832, allocations: 17.31 kB / 3.262 GB, free: 40.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/7.832, allocations: 21.69 kB / 3.262 GB, free: 40.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009644/7.833, allocations: 345.5 kB / 3.263 GB, free: 40.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/7.834, allocations: 475.1 kB / 3.263 GB, free: 40.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/7.834, allocations: 1.875 kB / 3.263 GB, free: 40.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.158e-05/7.834, allocations: 7.406 kB / 3.263 GB, free: 40.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/7.834, allocations: 9.188 kB / 3.263 GB, free: 40.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1519/7.986, allocations: 49.47 MB / 3.311 GB, free: 22.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/7.987, allocations: 183.1 kB / 3.312 GB, free: 22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/7.987, allocations: 97.83 kB / 3.312 GB, free: 22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1124/8.099, allocations: 49.68 MB / 3.36 GB, free: 18.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/8.1, allocations: 41.72 kB / 3.36 GB, free: 18.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=22): time 2.805e-06/8.1, allocations: 0 / 3.36 GB, free: 18.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=22): time 0.002525/8.102, allocations: 0.5267 MB / 3.361 GB, free: 18.53 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/8.102, allocations: 106.8 kB / 3.361 GB, free: 18.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/8.103, allocations: 297.2 kB / 3.361 GB, free: 18.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/8.103, allocations: 30.58 kB / 3.361 GB, free: 18.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/8.103, allocations: 250.9 kB / 3.361 GB, free: 17.94 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.358e-05/8.103, allocations: 77.47 kB / 3.361 GB, free: 17.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/8.103, allocations: 0 / 3.361 GB, free: 17.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002066/8.103, allocations: 344.4 kB / 3.362 GB, free: 17.56 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/8.104, allocations: 97.33 kB / 3.362 GB, free: 17.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/8.104, allocations: 290.1 kB / 3.362 GB, free: 17.19 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/8.105, allocations: 255.5 kB / 3.362 GB, free: 17.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/8.105, allocations: 4 kB / 3.362 GB, free: 17.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002744/8.108, allocations: 0.7552 MB / 3.363 GB, free: 16.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001495/8.109, allocations: 2.432 MB / 3.366 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/8.109, allocations: 4 kB / 3.366 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/8.11, allocations: 54.11 kB / 3.366 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/8.11, allocations: 116.8 kB / 3.366 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/8.111, allocations: 0.677 MB / 3.366 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/8.112, allocations: 61.39 kB / 3.366 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/8.112, allocations: 31.44 kB / 3.366 GB, free: 13.22 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/8.112, allocations: 8.062 kB / 3.366 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001128/8.113, allocations: 386 kB / 3.367 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/8.113, allocations: 11.47 kB / 3.367 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/8.113, allocations: 8 kB / 3.367 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/8.114, allocations: 121 kB / 3.367 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/8.114, allocations: 13.25 kB / 3.367 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/8.114, allocations: 55.39 kB / 3.367 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/8.114, allocations: 27.59 kB / 3.367 GB, free: 12.82 MB / 458.7 MB 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.0002146/8.115, allocations: 122 kB / 3.367 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005703/8.115, allocations: 179 kB / 3.367 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/8.118, allocations: 1.523 MB / 3.369 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/8.118, allocations: 15.78 kB / 3.369 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/8.118, allocations: 3.906 kB / 3.369 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/8.118, allocations: 0 / 3.369 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/8.12, allocations: 2.055 MB / 3.371 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/8.12, allocations: 3.688 kB / 3.371 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/8.121, allocations: 52.09 kB / 3.371 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005986/8.121, allocations: 0.4999 MB / 3.371 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/8.121, allocations: 8.062 kB / 3.371 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/8.123, allocations: 1.041 MB / 3.372 GB, free: 9.281 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/8.123, allocations: 4 kB / 3.372 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002093/8.125, allocations: 1.349 MB / 3.374 GB, free: 8.402 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/8.125, allocations: 173.1 kB / 3.374 GB, free: 8.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/8.125, allocations: 9.531 kB / 3.374 GB, free: 8.242 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/8.125, allocations: 30.7 kB / 3.374 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/8.126, allocations: 24.36 kB / 3.374 GB, free: 8.211 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/8.126, allocations: 15.41 kB / 3.374 GB, free: 8.203 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0002749/8.126, allocations: 214.8 kB / 3.374 GB, free: 8.051 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006631/8.132, allocations: 1.166 MB / 3.375 GB, free: 6.973 MB / 458.7 MB 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.01177/8.144, allocations: 1.803 MB / 3.377 GB, free: 5.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001623/8.146, allocations: 0.8046 MB / 3.378 GB, free: 5.137 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/8.146, allocations: 8.062 kB / 3.378 GB, free: 5.129 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006512/8.147, allocations: 0.5502 MB / 3.378 GB, free: 4.887 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/8.148, allocations: 160.1 kB / 3.379 GB, free: 4.789 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3829/8.531, allocations: 49.98 MB / 3.427 GB, free: 104.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/8.531, allocations: 0.9598 MB / 3.428 GB, free: 103.5 MB / 458.7 MB Notification: Performance of SimCode: time 9.82e-07/8.531, allocations: 0 / 3.428 GB, free: 103.5 MB / 458.7 MB Notification: Performance of Templates: time 0.05723/8.588, allocations: 35.33 MB / 3.463 GB, free: 101.3 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1)