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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001349/0.001349, allocations: 164.4 kB / 7.635 MB, free: 1.418 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.512/1.512, allocations: 170.7 MB / 178.7 MB, free: 15.63 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.002316/0.002316, allocations: 103.5 kB / 218 MB, free: 8.41 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.2153/0.2153, allocations: 37.99 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.616e-05, allocations: 2.375 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.399/6.522, allocations: 2.484 GB / 2.874 GB, free: 28.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/6.523, allocations: 79.95 kB / 2.874 GB, free: 28.89 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 - DAE generated: time 1.762/8.285, allocations: 395.8 MB / 3.26 GB, free: 40.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.034e-06/8.285, allocations: 0 / 3.26 GB, free: 40.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.005e-05/8.285, allocations: 14.53 kB / 3.26 GB, free: 40.37 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.00598/8.291, allocations: 1.479 MB / 3.262 GB, free: 39.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/8.291, allocations: 10.69 kB / 3.262 GB, free: 39.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/8.293, allocations: 238.7 kB / 3.262 GB, free: 39.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008067/8.294, allocations: 442.9 kB / 3.262 GB, free: 39.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/8.294, allocations: 14.17 kB / 3.262 GB, free: 39.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/8.294, allocations: 22.78 kB / 3.262 GB, free: 39.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005553/8.294, allocations: 350.3 kB / 3.263 GB, free: 39.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005995/8.295, allocations: 473.6 kB / 3.263 GB, free: 39.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/8.295, allocations: 3.953 kB / 3.263 GB, free: 39.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/8.295, allocations: 3.656 kB / 3.263 GB, free: 39.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/8.295, allocations: 11.75 kB / 3.263 GB, free: 39.3 MB / 426.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.08992/8.385, allocations: 39.42 MB / 3.302 GB, free: 22.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/8.386, allocations: 213.5 kB / 3.302 GB, free: 22.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/8.386, allocations: 99.11 kB / 3.302 GB, free: 22.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09698/8.483, allocations: 49.62 MB / 3.35 GB, free: 23.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/8.483, allocations: 33.78 kB / 3.35 GB, free: 23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=22): time 3.056e-06/8.483, allocations: 0 / 3.35 GB, free: 23 MB / 458.7 MB Notification: Performance of matching and sorting (n=22): time 0.002345/8.485, allocations: 0.5084 MB / 3.351 GB, free: 22.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/8.485, allocations: 106.5 kB / 3.351 GB, free: 22.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/8.486, allocations: 293.2 kB / 3.351 GB, free: 22.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/8.486, allocations: 29.55 kB / 3.351 GB, free: 22.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/8.486, allocations: 279.8 kB / 3.352 GB, free: 22.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.133e-05/8.486, allocations: 74.08 kB / 3.352 GB, free: 22.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/8.486, allocations: 0 / 3.352 GB, free: 22.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/8.486, allocations: 352.4 kB / 3.352 GB, free: 22.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/8.487, allocations: 87.53 kB / 3.352 GB, free: 22.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/8.487, allocations: 275.9 kB / 3.352 GB, free: 21.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/8.488, allocations: 230.3 kB / 3.352 GB, free: 21.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/8.488, allocations: 2.062 kB / 3.352 GB, free: 21.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001433/8.489, allocations: 0.5087 MB / 3.353 GB, free: 21.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001291/8.491, allocations: 2.44 MB / 3.355 GB, free: 19.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/8.491, allocations: 10.69 kB / 3.355 GB, free: 19.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/8.491, allocations: 42.8 kB / 3.355 GB, free: 19.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/8.491, allocations: 111.5 kB / 3.356 GB, free: 19.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009302/8.492, allocations: 0.6243 MB / 3.356 GB, free: 18.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/8.493, allocations: 68.7 kB / 3.356 GB, free: 18.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/8.493, allocations: 31.17 kB / 3.356 GB, free: 18.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/8.493, allocations: 4.5 kB / 3.356 GB, free: 18.67 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009608/8.494, allocations: 357.4 kB / 3.357 GB, free: 18.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/8.494, allocations: 11.72 kB / 3.357 GB, free: 18.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/8.494, allocations: 11.8 kB / 3.357 GB, free: 18.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/8.494, allocations: 120.1 kB / 3.357 GB, free: 18.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/8.494, allocations: 12.81 kB / 3.357 GB, free: 18.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/8.495, allocations: 55.17 kB / 3.357 GB, free: 18.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/8.495, allocations: 23.97 kB / 3.357 GB, free: 18.64 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.000191/8.495, allocations: 119 kB / 3.357 GB, free: 18.53 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/8.495, allocations: 37.25 kB / 3.357 GB, free: 18.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/8.497, allocations: 1.448 MB / 3.358 GB, free: 18.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/8.497, allocations: 19.77 kB / 3.358 GB, free: 18.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/8.497, allocations: 0 / 3.358 GB, free: 18.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/8.497, allocations: 3.75 kB / 3.358 GB, free: 18.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/8.5, allocations: 2.023 MB / 3.36 GB, free: 17.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/8.5, allocations: 10.75 kB / 3.36 GB, free: 17.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/8.5, allocations: 52.2 kB / 3.36 GB, free: 17.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005966/8.501, allocations: 0.5885 MB / 3.361 GB, free: 17.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/8.501, allocations: 3.875 kB / 3.361 GB, free: 17.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/8.502, allocations: 1.071 MB / 3.362 GB, free: 17.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/8.502, allocations: 3.812 kB / 3.362 GB, free: 17.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/8.503, allocations: 1.167 MB / 3.363 GB, free: 16.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/8.504, allocations: 176.4 kB / 3.363 GB, free: 16.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.555e-05/8.504, allocations: 7.75 kB / 3.363 GB, free: 16.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/8.504, allocations: 31.69 kB / 3.363 GB, free: 16.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/8.504, allocations: 28.31 kB / 3.363 GB, free: 16.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/8.504, allocations: 9.75 kB / 3.363 GB, free: 16.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002659/8.504, allocations: 213.9 kB / 3.364 GB, free: 16.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/8.504, allocations: 0 / 3.364 GB, free: 16.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005954/8.51, allocations: 1.146 MB / 3.365 GB, free: 15.46 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: 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.009768/8.52, allocations: 1.737 MB / 3.366 GB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/8.522, allocations: 0.6178 MB / 3.367 GB, free: 13.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/8.522, allocations: 4 kB / 3.367 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004881/8.522, allocations: 373.3 kB / 3.367 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/8.523, allocations: 159.1 kB / 3.368 GB, free: 13.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/8.525, allocations: 0.9258 MB / 3.368 GB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/8.525, allocations: 0.9365 MB / 3.369 GB, free: 11.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009823/8.526, allocations: 0.5033 MB / 3.37 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/8.527, allocations: 35 kB / 3.37 GB, free: 11.61 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/8.527, allocations: 0 / 3.37 GB, free: 11.61 MB / 458.7 MB Notification: Performance of Templates: time 0.3166/8.843, allocations: 30.06 MB / 3.399 GB, free: 69.92 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)