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.001135/0.001135, allocations: 181.1 kB / 7.651 MB, free: 1.402 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.586/1.586, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001659/0.001659, allocations: 114.7 kB / 247.4 MB, free: 6.195 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.2049/0.2049, allocations: 39.94 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.922e-05, allocations: 7.984 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1082, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.635/6.743, allocations: 2.595 GB / 3.033 GB, free: 74.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/6.744, allocations: 86.64 kB / 3.033 GB, free: 74.11 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 - DAE generated: time 1.315/8.058, allocations: 405.7 MB / 3.429 GB, free: 33.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.823e-06/8.058, allocations: 0 / 3.429 GB, free: 33.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.084e-05/8.058, allocations: 14.66 kB / 3.429 GB, free: 33.01 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.005369/8.064, allocations: 1.517 MB / 3.43 GB, free: 31.45 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/8.064, allocations: 11.69 kB / 3.43 GB, free: 31.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/8.066, allocations: 240.1 kB / 3.431 GB, free: 31.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007378/8.066, allocations: 453.9 kB / 3.431 GB, free: 30.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/8.067, allocations: 19.59 kB / 3.431 GB, free: 30.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/8.067, allocations: 20 kB / 3.431 GB, free: 30.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005206/8.067, allocations: 353.5 kB / 3.431 GB, free: 30.35 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/8.068, allocations: 465.8 kB / 3.432 GB, free: 29.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/8.068, allocations: 0 / 3.432 GB, free: 29.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/8.068, allocations: 0 / 3.432 GB, free: 29.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/8.068, allocations: 15.81 kB / 3.432 GB, free: 29.83 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.08955/8.157, allocations: 39.56 MB / 3.471 GB, free: 3.398 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/8.158, allocations: 210.4 kB / 3.471 GB, free: 3.188 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/8.158, allocations: 97.22 kB / 3.471 GB, free: 3.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3348/8.493, allocations: 49.64 MB / 3.519 GB, free: 41.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/8.493, allocations: 34.16 kB / 3.519 GB, free: 41.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 2.434e-06/8.493, allocations: 5.219 kB / 3.519 GB, free: 41.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.001932/8.495, allocations: 0.5032 MB / 3.52 GB, free: 41.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/8.495, allocations: 108.6 kB / 3.52 GB, free: 41.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/8.495, allocations: 292.2 kB / 3.52 GB, free: 41.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/8.495, allocations: 29.7 kB / 3.52 GB, free: 41.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/8.496, allocations: 283.2 kB / 3.521 GB, free: 41.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/8.496, allocations: 75.23 kB / 3.521 GB, free: 41.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/8.496, allocations: 0 / 3.521 GB, free: 41.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/8.496, allocations: 342 kB / 3.521 GB, free: 41.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/8.496, allocations: 88.12 kB / 3.521 GB, free: 41.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/8.496, allocations: 283.4 kB / 3.521 GB, free: 40.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/8.497, allocations: 235.9 kB / 3.522 GB, free: 40.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/8.497, allocations: 0 / 3.522 GB, free: 40.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00128/8.498, allocations: 0.5013 MB / 3.522 GB, free: 40.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003959/8.499, allocations: 2.44 MB / 3.524 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/8.499, allocations: 11.27 kB / 3.524 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/8.499, allocations: 43.31 kB / 3.524 GB, free: 38.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/8.499, allocations: 102.2 kB / 3.525 GB, free: 38.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006474/8.5, allocations: 0.6436 MB / 3.525 GB, free: 37.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/8.5, allocations: 64 kB / 3.525 GB, free: 37.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/8.5, allocations: 25.38 kB / 3.525 GB, free: 37.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/8.5, allocations: 4.719 kB / 3.525 GB, free: 37.63 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008316/8.501, allocations: 360.7 kB / 3.526 GB, free: 37.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/8.501, allocations: 8.062 kB / 3.526 GB, free: 37.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/8.501, allocations: 14.56 kB / 3.526 GB, free: 37.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/8.502, allocations: 117.5 kB / 3.526 GB, free: 37.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/8.502, allocations: 10.44 kB / 3.526 GB, free: 37.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/8.502, allocations: 57.83 kB / 3.526 GB, free: 37.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/8.502, allocations: 22.69 kB / 3.526 GB, free: 37.61 MB / 490.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.0001092/8.502, allocations: 121.4 kB / 3.526 GB, free: 37.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/8.502, allocations: 38.62 kB / 3.526 GB, free: 37.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/8.504, allocations: 1.441 MB / 3.527 GB, free: 37.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/8.504, allocations: 28.08 kB / 3.527 GB, free: 37.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/8.504, allocations: 3.312 kB / 3.527 GB, free: 37.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/8.504, allocations: 3.609 kB / 3.527 GB, free: 37.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/8.506, allocations: 2.02 MB / 3.529 GB, free: 36.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/8.506, allocations: 7.891 kB / 3.529 GB, free: 36.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/8.506, allocations: 53.7 kB / 3.529 GB, free: 36.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/8.507, allocations: 0.5814 MB / 3.53 GB, free: 36.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/8.507, allocations: 3.969 kB / 3.53 GB, free: 36.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007472/8.507, allocations: 1.075 MB / 3.531 GB, free: 36.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/8.507, allocations: 0 / 3.531 GB, free: 36.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/8.509, allocations: 1.167 MB / 3.532 GB, free: 36.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/8.509, allocations: 184.2 kB / 3.532 GB, free: 35.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.142e-05/8.509, allocations: 5.312 kB / 3.532 GB, free: 35.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/8.509, allocations: 22.78 kB / 3.532 GB, free: 35.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/8.509, allocations: 20.7 kB / 3.532 GB, free: 35.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/8.509, allocations: 11.22 kB / 3.532 GB, free: 35.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001736/8.509, allocations: 213.5 kB / 3.533 GB, free: 35.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/8.509, allocations: 4 kB / 3.533 GB, free: 35.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004282/8.514, allocations: 1.149 MB / 3.534 GB, free: 35.87 MB / 490.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: 13 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.006357/8.52, allocations: 1.739 MB / 3.535 GB, free: 35.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001145/8.521, allocations: 0.6151 MB / 3.536 GB, free: 35.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/8.521, allocations: 4.062 kB / 3.536 GB, free: 35.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003703/8.522, allocations: 379.7 kB / 3.536 GB, free: 35.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009487/8.523, allocations: 162.4 kB / 3.537 GB, free: 35.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/8.524, allocations: 0.9266 MB / 3.538 GB, free: 35.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/8.524, allocations: 0.9353 MB / 3.538 GB, free: 34.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008173/8.525, allocations: 0.4979 MB / 3.539 GB, free: 34.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/8.525, allocations: 35.81 kB / 3.539 GB, free: 34.64 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/8.525, allocations: 3.938 kB / 3.539 GB, free: 34.64 MB / 490.7 MB Notification: Performance of Templates: time 0.03696/8.562, allocations: 30.21 MB / 3.568 GB, free: 32.65 MB / 490.7 MB 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)