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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01153/0.01153, allocations: 175 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.617/1.617, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001792/0.001792, allocations: 128.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2608/0.2608, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004217, allocations: 10.28 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1275, allocations: 54.87 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.852/6.98, allocations: 2.596 GB / 3.046 GB, free: 154.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/6.98, allocations: 87.42 kB / 3.046 GB, free: 154.4 MB / 490.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 - DAE generated: time 1.562/8.542, allocations: 411 MB / 3.447 GB, free: 65.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.113e-06/8.542, allocations: 0 / 3.447 GB, free: 65.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.053e-05/8.542, allocations: 15.38 kB / 3.447 GB, free: 65.15 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.006317/8.549, allocations: 1.559 MB / 3.449 GB, free: 64.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/8.549, allocations: 9.812 kB / 3.449 GB, free: 64.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/8.551, allocations: 251.7 kB / 3.449 GB, free: 64.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007804/8.551, allocations: 444.7 kB / 3.45 GB, free: 64.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/8.552, allocations: 31.56 kB / 3.45 GB, free: 64.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/8.552, allocations: 38.47 kB / 3.45 GB, free: 64.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/8.553, allocations: 0.6826 MB / 3.45 GB, free: 63.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/8.553, allocations: 2.844 kB / 3.45 GB, free: 63.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/8.553, allocations: 16.66 kB / 3.45 GB, free: 63.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/8.553, allocations: 11.81 kB / 3.45 GB, free: 63.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/8.554, allocations: 0.5829 MB / 3.451 GB, free: 63.91 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/8.557, allocations: 3.145 MB / 3.454 GB, free: 61.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/8.558, allocations: 392.7 kB / 3.454 GB, free: 61.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.164/8.722, allocations: 80.62 MB / 3.533 GB, free: 16.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/8.723, allocations: 41.44 kB / 3.533 GB, free: 16.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.276e-06/8.723, allocations: 3.938 kB / 3.533 GB, free: 16.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.002816/8.725, allocations: 0.7924 MB / 3.534 GB, free: 15.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/8.725, allocations: 113.6 kB / 3.534 GB, free: 15.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/8.726, allocations: 305.6 kB / 3.534 GB, free: 15.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/8.726, allocations: 28.45 kB / 3.534 GB, free: 15.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/8.726, allocations: 268.3 kB / 3.535 GB, free: 15.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.278e-05/8.726, allocations: 105.9 kB / 3.535 GB, free: 15.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/8.726, allocations: 7.875 kB / 3.535 GB, free: 15.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/8.726, allocations: 346.5 kB / 3.535 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/8.727, allocations: 118.9 kB / 3.535 GB, free: 14.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/8.727, allocations: 326.9 kB / 3.535 GB, free: 14.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/8.727, allocations: 166.2 kB / 3.536 GB, free: 14.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/8.727, allocations: 0 / 3.536 GB, free: 14.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001022/8.729, allocations: 0.5002 MB / 3.536 GB, free: 13.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00158/8.73, allocations: 2.444 MB / 3.538 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/8.73, allocations: 4 kB / 3.538 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001797/8.732, allocations: 203 kB / 3.539 GB, free: 27.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/8.732, allocations: 104.5 kB / 3.539 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006231/8.733, allocations: 0.5865 MB / 3.539 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/8.734, allocations: 63.05 kB / 3.539 GB, free: 26.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/8.734, allocations: 23.73 kB / 3.539 GB, free: 26.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/8.734, allocations: 8.062 kB / 3.539 GB, free: 26.54 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009227/8.735, allocations: 413.9 kB / 3.54 GB, free: 26.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/8.735, allocations: 4.125 kB / 3.54 GB, free: 26.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/8.735, allocations: 22.95 kB / 3.54 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/8.735, allocations: 121.5 kB / 3.54 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/8.735, allocations: 8 kB / 3.54 GB, free: 26.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/8.736, allocations: 60.5 kB / 3.54 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/8.736, allocations: 30.19 kB / 3.54 GB, free: 26.12 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 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked 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.0004672/8.736, allocations: 256.5 kB / 3.54 GB, free: 25.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/8.736, allocations: 39.19 kB / 3.54 GB, free: 25.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/8.739, allocations: 1.858 MB / 3.542 GB, free: 24.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.073e-05/8.739, allocations: 27.06 kB / 3.542 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/8.739, allocations: 0 / 3.542 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/8.739, allocations: 4 kB / 3.542 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/8.741, allocations: 0.9248 MB / 3.543 GB, free: 23.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/8.741, allocations: 0 / 3.543 GB, free: 23.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/8.741, allocations: 69.72 kB / 3.543 GB, free: 23.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/8.743, allocations: 0.5853 MB / 3.544 GB, free: 23.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/8.743, allocations: 8 kB / 3.544 GB, free: 23.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/8.744, allocations: 0.9917 MB / 3.545 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/8.744, allocations: 4.062 kB / 3.545 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/8.745, allocations: 1.252 MB / 3.546 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/8.746, allocations: 233.7 kB / 3.546 GB, free: 20.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/8.746, allocations: 4 kB / 3.546 GB, free: 20.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/8.746, allocations: 38.5 kB / 3.546 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/8.746, allocations: 31.11 kB / 3.546 GB, free: 20.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/8.746, allocations: 15.25 kB / 3.546 GB, free: 20.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004368/8.747, allocations: 295 kB / 3.547 GB, free: 20.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.51e-07/8.747, allocations: 4 kB / 3.547 GB, free: 20.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00712/8.754, allocations: 1.196 MB / 3.548 GB, free: 19.48 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01028/8.764, allocations: 1.617 MB / 3.549 GB, free: 18.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001976/8.766, allocations: 0.7694 MB / 3.55 GB, free: 17.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/8.766, allocations: 7.938 kB / 3.55 GB, free: 17.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006575/8.767, allocations: 459.3 kB / 3.55 GB, free: 17.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/8.768, allocations: 183.3 kB / 3.551 GB, free: 17.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6271/9.395, allocations: 152.8 MB / 3.7 GB, free: 55.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/9.396, allocations: 0.9841 MB / 3.701 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008121/9.397, allocations: 423.2 kB / 3.701 GB, free: 54.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/9.397, allocations: 45.81 kB / 3.701 GB, free: 54.32 MB / 0.4948 GB Notification: Performance of SimCode: time 2.194e-06/9.397, allocations: 4 kB / 3.701 GB, free: 54.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.0463/9.443, allocations: 35.2 MB / 3.736 GB, free: 28.68 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)