Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") [: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.003873/0.003873, allocations: 183.2 kB / 7.459 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.415/1.415, 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.001819/0.001819, allocations: 116.8 kB / 247.1 MB, free: 6.332 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.1873/0.1873, allocations: 39.95 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.164e-06/7.184e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 54.86 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7373/0.8526, allocations: 283 MB / 0.7136 GB, free: 145.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.853, allocations: 75.95 kB / 0.7136 GB, free: 145.1 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 .... [/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 0.2242/1.077, allocations: 115.3 MB / 0.8262 GB, free: 28.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.248e-05/1.077, allocations: 15.98 kB / 0.8262 GB, free: 28.45 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002346/1.08, allocations: 0.8705 MB / 0.8271 GB, free: 27.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/1.08, allocations: 8.031 kB / 0.8271 GB, free: 27.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006418/1.08, allocations: 83.16 kB / 0.8272 GB, free: 27.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.082, allocations: 0.5443 MB / 0.8277 GB, free: 26.85 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/1.082, allocations: 19.94 kB / 0.8277 GB, free: 26.83 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/1.082, allocations: 28 kB / 0.8278 GB, free: 26.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007245/1.083, allocations: 469.8 kB / 0.8282 GB, free: 26.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/1.083, allocations: 0.5668 MB / 0.8288 GB, free: 25.72 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/1.083, allocations: 11.92 kB / 0.8288 GB, free: 25.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-05/1.084, allocations: 0 / 0.8288 GB, free: 25.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/1.084, allocations: 12 kB / 0.8288 GB, free: 25.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/1.087, allocations: 3.023 MB / 0.8317 GB, free: 22.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/1.087, allocations: 170.9 kB / 0.8319 GB, free: 22.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/1.087, allocations: 117.2 kB / 0.832 GB, free: 22.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/1.089, allocations: 1.037 MB / 0.833 GB, free: 21.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/1.089, allocations: 161 kB / 0.8332 GB, free: 20.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 3.337e-06/1.089, allocations: 0 / 0.8332 GB, free: 20.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.002688/1.092, allocations: 0.5523 MB / 0.8337 GB, free: 20.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/1.092, allocations: 158.2 kB / 0.8339 GB, free: 20.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/1.092, allocations: 389.9 kB / 0.8342 GB, free: 19.74 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/1.092, allocations: 29.7 kB / 0.8343 GB, free: 19.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/1.092, allocations: 310.5 kB / 0.8346 GB, free: 19.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/1.092, allocations: 82.84 kB / 0.8346 GB, free: 19.31 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/1.092, allocations: 8 kB / 0.8346 GB, free: 19.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.717e-05/1.092, allocations: 362.7 kB / 0.835 GB, free: 18.94 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/1.093, allocations: 97.3 kB / 0.8351 GB, free: 18.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/1.093, allocations: 377.1 kB / 0.8354 GB, free: 18.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/1.095, allocations: 477.4 kB / 0.8359 GB, free: 17.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/1.095, allocations: 0 / 0.8359 GB, free: 17.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002838/1.098, allocations: 0.7811 MB / 0.8367 GB, free: 17.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007407/1.099, allocations: 3.651 MB / 0.8402 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.099, allocations: 8 kB / 0.8402 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/1.099, allocations: 23.94 kB / 0.8403 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.1, allocations: 187.7 kB / 0.8404 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008866/1.101, allocations: 0.6796 MB / 0.8411 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006587/1.102, allocations: 63.33 kB / 0.8412 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-05/1.102, allocations: 35.98 kB / 0.8412 GB, free: 12.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.102, allocations: 8.094 kB / 0.8412 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001933/1.104, allocations: 0.5547 MB / 0.8417 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.104, allocations: 20 kB / 0.8418 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/1.104, allocations: 12 kB / 0.8418 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/1.104, allocations: 131.7 kB / 0.8419 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/1.104, allocations: 27.86 kB / 0.8419 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/1.105, allocations: 47.52 kB / 0.842 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/1.105, allocations: 32 kB / 0.842 GB, free: 11.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002288/1.105, allocations: 166.4 kB / 0.8422 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/1.105, allocations: 55.34 kB / 0.8422 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/1.107, allocations: 0.8513 MB / 0.843 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.107, allocations: 8 kB / 0.8431 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.107, allocations: 0 / 0.8431 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.108, allocations: 0 / 0.8431 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007675/1.108, allocations: 409.7 kB / 0.8434 GB, free: 9.777 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.108, allocations: 0 / 0.8434 GB, free: 9.777 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/1.109, allocations: 111.8 kB / 0.8435 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/1.109, allocations: 0 / 0.8435 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/1.109, allocations: 11.98 kB / 0.8436 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004785/1.109, allocations: 0.6172 MB / 0.8442 GB, free: 9.016 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.109, allocations: 8.016 kB / 0.8442 GB, free: 9.008 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001204/1.111, allocations: 492.8 kB / 0.8446 GB, free: 8.508 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/1.111, allocations: 192.1 kB / 0.8448 GB, free: 8.301 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.111, allocations: 3.938 kB / 0.8448 GB, free: 8.297 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/1.111, allocations: 19.98 kB / 0.8448 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/1.111, allocations: 23.88 kB / 0.8449 GB, free: 8.254 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/1.111, allocations: 15.98 kB / 0.8449 GB, free: 8.238 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003162/1.112, allocations: 306.9 kB / 0.8452 GB, free: 7.941 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001418/1.113, allocations: 419.2 kB / 0.8456 GB, free: 7.531 MB / 474.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 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009871/1.114, allocations: 430.9 kB / 0.846 GB, free: 7.109 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001911/1.116, allocations: 0.6812 MB / 0.8467 GB, free: 6.418 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.116, allocations: 0 / 0.8467 GB, free: 6.418 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007902/1.117, allocations: 293.8 kB / 0.8469 GB, free: 6.125 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008548/1.118, allocations: 175.9 kB / 0.8471 GB, free: 5.961 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/1.12, allocations: 0.8565 MB / 0.8479 GB, free: 5.078 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/1.12, allocations: 0.9678 MB / 0.8489 GB, free: 4.082 MB / 474.7 MB Notification: Performance of SimCode: time 4.11e-07/1.12, allocations: 4 kB / 0.8489 GB, free: 4.078 MB / 474.7 MB Notification: Performance of Templates: time 0.2329/1.353, allocations: 12.53 MB / 0.8611 GB, free: 168.9 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1)