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.009701/0.009701, allocations: 168.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.38/1.38, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001598/0.001598, allocations: 107.3 kB / 226.2 MB, free: 10.11 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.3609/0.3609, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005743/0.0005744, allocations: 12 kB / 362.9 MB, free: 5.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1195, allocations: 48.7 MB / 411.6 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.086/7.206, allocations: 2.485 GB / 2.887 GB, free: 52.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/7.206, allocations: 90.88 kB / 2.887 GB, free: 52.41 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.899/9.105, allocations: 400.8 MB / 3.278 GB, free: 38.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.415e-06/9.105, allocations: 0 / 3.278 GB, free: 38.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.246e-05/9.105, allocations: 10.09 kB / 3.278 GB, free: 38.61 MB / 442.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.007506/9.113, allocations: 1.538 MB / 3.28 GB, free: 38.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/9.113, allocations: 11.53 kB / 3.28 GB, free: 38.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/9.115, allocations: 231.5 kB / 3.28 GB, free: 38.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009854/9.116, allocations: 442.2 kB / 3.281 GB, free: 37.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/9.116, allocations: 33.62 kB / 3.281 GB, free: 37.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/9.116, allocations: 40.48 kB / 3.281 GB, free: 37.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/9.117, allocations: 0.6863 MB / 3.281 GB, free: 37.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/9.117, allocations: 1.375 kB / 3.281 GB, free: 37.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/9.117, allocations: 19.69 kB / 3.281 GB, free: 37.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/9.117, allocations: 14.67 kB / 3.281 GB, free: 37.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/9.119, allocations: 0.5829 MB / 3.282 GB, free: 37.61 MB / 442.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.003139/9.122, allocations: 3.129 MB / 3.285 GB, free: 35.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/9.123, allocations: 401.2 kB / 3.285 GB, free: 35.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1817/9.305, allocations: 80.52 MB / 3.364 GB, free: 24.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/9.305, allocations: 42.28 kB / 3.364 GB, free: 24.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 2.966e-06/9.305, allocations: 0 / 3.364 GB, free: 24.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=27): time 0.003063/9.308, allocations: 0.8011 MB / 3.365 GB, free: 23.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/9.308, allocations: 106.8 kB / 3.365 GB, free: 23.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/9.309, allocations: 306.4 kB / 3.365 GB, free: 23.67 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/9.309, allocations: 33.36 kB / 3.365 GB, free: 23.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/9.309, allocations: 277.2 kB / 3.365 GB, free: 23.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/9.309, allocations: 90.41 kB / 3.366 GB, free: 23.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/9.309, allocations: 11.78 kB / 3.366 GB, free: 23.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/9.309, allocations: 346.8 kB / 3.366 GB, free: 23.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/9.31, allocations: 120.7 kB / 3.366 GB, free: 23.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/9.31, allocations: 320.3 kB / 3.366 GB, free: 22.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/9.311, allocations: 163.9 kB / 3.366 GB, free: 22.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/9.311, allocations: 3.719 kB / 3.366 GB, free: 22.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001116/9.312, allocations: 0.4946 MB / 3.367 GB, free: 22.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001136/9.313, allocations: 2.441 MB / 3.369 GB, free: 20.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/9.313, allocations: 7.719 kB / 3.369 GB, free: 20.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/9.315, allocations: 199.8 kB / 3.37 GB, free: 20.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/9.315, allocations: 115.3 kB / 3.37 GB, free: 20.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005316/9.316, allocations: 0.5819 MB / 3.37 GB, free: 19.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/9.316, allocations: 67.73 kB / 3.37 GB, free: 19.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/9.316, allocations: 27.53 kB / 3.37 GB, free: 19.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/9.316, allocations: 4.344 kB / 3.37 GB, free: 19.68 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008662/9.317, allocations: 420.9 kB / 3.371 GB, free: 19.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/9.317, allocations: 6.531 kB / 3.371 GB, free: 19.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/9.317, allocations: 9.812 kB / 3.371 GB, free: 19.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/9.318, allocations: 116.2 kB / 3.371 GB, free: 19.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/9.318, allocations: 17.27 kB / 3.371 GB, free: 19.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/9.318, allocations: 60.25 kB / 3.371 GB, free: 19.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/9.318, allocations: 23.5 kB / 3.371 GB, free: 19.66 MB / 474.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 (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.0004311/9.319, allocations: 254.9 kB / 3.371 GB, free: 19.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/9.319, allocations: 37.78 kB / 3.371 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/9.321, allocations: 1.849 MB / 3.373 GB, free: 19.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/9.321, allocations: 27.02 kB / 3.373 GB, free: 19.22 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/9.321, allocations: 5.672 kB / 3.373 GB, free: 19.22 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/9.321, allocations: 2.625 kB / 3.373 GB, free: 19.22 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/9.323, allocations: 0.9328 MB / 3.374 GB, free: 18.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/9.323, allocations: 0 / 3.374 GB, free: 18.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/9.323, allocations: 71.66 kB / 3.374 GB, free: 18.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/9.324, allocations: 0.5834 MB / 3.375 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/9.325, allocations: 11.41 kB / 3.375 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008094/9.325, allocations: 0.9904 MB / 3.376 GB, free: 18.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/9.325, allocations: 3.953 kB / 3.376 GB, free: 18.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/9.327, allocations: 1.244 MB / 3.377 GB, free: 18.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/9.327, allocations: 243 kB / 3.377 GB, free: 17.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/9.328, allocations: 10.16 kB / 3.377 GB, free: 17.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/9.328, allocations: 25.48 kB / 3.377 GB, free: 17.95 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/9.328, allocations: 31.86 kB / 3.377 GB, free: 17.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/9.328, allocations: 14.8 kB / 3.377 GB, free: 17.95 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003903/9.328, allocations: 298.4 kB / 3.377 GB, free: 17.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/9.328, allocations: 0 / 3.377 GB, free: 17.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007554/9.336, allocations: 1.197 MB / 3.379 GB, free: 17.68 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: 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.01157/9.348, allocations: 1.623 MB / 3.38 GB, free: 17.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002285/9.35, allocations: 0.773 MB / 3.381 GB, free: 17.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/9.35, allocations: 1.641 kB / 3.381 GB, free: 17.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008561/9.351, allocations: 461.9 kB / 3.381 GB, free: 17.29 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/9.352, allocations: 179.2 kB / 3.381 GB, free: 17.28 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5723/9.925, allocations: 150.4 MB / 3.528 GB, free: 64.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/9.925, allocations: 0.9897 MB / 3.529 GB, free: 63.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009675/9.926, allocations: 429 kB / 3.53 GB, free: 63.28 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/9.926, allocations: 42.19 kB / 3.53 GB, free: 63.27 MB / 474.7 MB Notification: Performance of SimCode: time 1.252e-06/9.926, allocations: 0 / 3.53 GB, free: 63.27 MB / 474.7 MB Notification: Performance of Templates: time 0.05664/9.983, allocations: 35.03 MB / 3.564 GB, free: 59.09 MB / 474.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)