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.001388/0.001389, allocations: 170.4 kB / 12.72 MB, free: 2.594 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.284/1.284, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001732/0.001732, allocations: 107.5 kB / 223.2 MB, free: 4.047 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.1792/0.1792, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.804e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.367/5.477, allocations: 2.485 GB / 2.881 GB, free: 97.77 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/5.477, allocations: 89.48 kB / 2.881 GB, free: 97.77 MB / 442.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.328/6.805, allocations: 399.7 MB / 3.271 GB, free: 56.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.483e-06/6.806, allocations: 3.219 kB / 3.271 GB, free: 56.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.966e-05/6.806, allocations: 12.81 kB / 3.271 GB, free: 56.85 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.00477/6.81, allocations: 1.479 MB / 3.273 GB, free: 56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/6.81, allocations: 7.312 kB / 3.273 GB, free: 56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/6.812, allocations: 238.2 kB / 3.273 GB, free: 55.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006781/6.813, allocations: 446.9 kB / 3.274 GB, free: 55.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/6.813, allocations: 27.97 kB / 3.274 GB, free: 55.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/6.813, allocations: 37.19 kB / 3.274 GB, free: 55.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/6.814, allocations: 0.6773 MB / 3.274 GB, free: 55.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/6.814, allocations: 4.312 kB / 3.274 GB, free: 55.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/6.814, allocations: 19.73 kB / 3.274 GB, free: 55.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/6.814, allocations: 11.62 kB / 3.274 GB, free: 55.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/6.815, allocations: 0.5334 MB / 3.275 GB, free: 55.09 MB / 442.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.002428/6.818, allocations: 3.14 MB / 3.278 GB, free: 52.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/6.819, allocations: 380 kB / 3.278 GB, free: 52.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/6.819, allocations: 119 kB / 3.278 GB, free: 52.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1482/6.967, allocations: 80.95 MB / 3.357 GB, free: 1.707 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/6.967, allocations: 38.5 kB / 3.357 GB, free: 1.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/6.967, allocations: 0 / 3.357 GB, free: 1.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=27): time 0.002022/6.969, allocations: 0.6039 MB / 3.358 GB, free: 1.047 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/6.969, allocations: 106.8 kB / 3.358 GB, free: 0.918 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/6.97, allocations: 299.5 kB / 3.358 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/6.97, allocations: 29.7 kB / 3.358 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/6.97, allocations: 273.7 kB / 3.359 GB, free: 324 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.378e-05/6.97, allocations: 94.84 kB / 3.359 GB, free: 232 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/6.97, allocations: 4 kB / 3.359 GB, free: 228 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.3437/7.314, allocations: 350.8 kB / 3.359 GB, free: 76.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/7.314, allocations: 95.91 kB / 3.359 GB, free: 76.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/7.315, allocations: 290.4 kB / 3.359 GB, free: 75.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/7.315, allocations: 140.4 kB / 3.36 GB, free: 75.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/7.315, allocations: 0 / 3.36 GB, free: 75.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001144/7.316, allocations: 451.9 kB / 3.36 GB, free: 75.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005394/7.317, allocations: 2.444 MB / 3.362 GB, free: 73.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/7.317, allocations: 9.5 kB / 3.362 GB, free: 73.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/7.319, allocations: 195.5 kB / 3.363 GB, free: 73.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/7.32, allocations: 109.9 kB / 3.363 GB, free: 73.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000531/7.32, allocations: 0.5803 MB / 3.363 GB, free: 72.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/7.321, allocations: 64.5 kB / 3.363 GB, free: 72.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/7.321, allocations: 26.58 kB / 3.363 GB, free: 72.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/7.321, allocations: 4.312 kB / 3.363 GB, free: 72.86 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008645/7.322, allocations: 376.5 kB / 3.364 GB, free: 72.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/7.322, allocations: 3.812 kB / 3.364 GB, free: 72.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/7.322, allocations: 10.69 kB / 3.364 GB, free: 72.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/7.323, allocations: 119.1 kB / 3.364 GB, free: 72.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/7.323, allocations: 9.906 kB / 3.364 GB, free: 72.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/7.323, allocations: 65.97 kB / 3.364 GB, free: 72.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/7.323, allocations: 20.19 kB / 3.364 GB, free: 72.86 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 (boundary_fixed.medium.phase,massFlowRate1.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.0001553/7.324, allocations: 146.6 kB / 3.364 GB, free: 72.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/7.324, allocations: 40.97 kB / 3.364 GB, free: 72.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/7.327, allocations: 1.846 MB / 3.366 GB, free: 72.56 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.296e-05/7.327, allocations: 24.94 kB / 3.366 GB, free: 72.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/7.327, allocations: 1.75 kB / 3.366 GB, free: 72.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/7.327, allocations: 2.531 kB / 3.366 GB, free: 72.56 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/7.329, allocations: 0.9325 MB / 3.367 GB, free: 72.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/7.329, allocations: 0 / 3.367 GB, free: 72.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/7.329, allocations: 65.95 kB / 3.367 GB, free: 72.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/7.331, allocations: 0.7151 MB / 3.368 GB, free: 72.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/7.331, allocations: 8.859 kB / 3.368 GB, free: 72.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009849/7.332, allocations: 0.9878 MB / 3.369 GB, free: 71.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/7.332, allocations: 5.172 kB / 3.369 GB, free: 71.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/7.334, allocations: 1.188 MB / 3.37 GB, free: 71.51 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/7.335, allocations: 235 kB / 3.37 GB, free: 71.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/7.335, allocations: 12.53 kB / 3.37 GB, free: 71.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/7.335, allocations: 35.64 kB / 3.37 GB, free: 71.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/7.336, allocations: 30.72 kB / 3.37 GB, free: 71.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/7.336, allocations: 8.688 kB / 3.37 GB, free: 71.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006019/7.336, allocations: 300.8 kB / 3.37 GB, free: 71.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/7.336, allocations: 1.312 kB / 3.37 GB, free: 71.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007605/7.344, allocations: 1.191 MB / 3.372 GB, free: 71.26 MB / 458.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 () * 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.01071/7.355, allocations: 1.617 MB / 3.373 GB, free: 71.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002195/7.357, allocations: 0.7012 MB / 3.374 GB, free: 71.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/7.357, allocations: 0 / 3.374 GB, free: 71.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000851/7.358, allocations: 439.7 kB / 3.374 GB, free: 71.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/7.359, allocations: 177 kB / 3.374 GB, free: 71.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2727/7.632, allocations: 149.3 MB / 3.52 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/7.633, allocations: 0.9916 MB / 3.521 GB, free: 14.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008136/7.633, allocations: 443.9 kB / 3.522 GB, free: 14.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.722e-05/7.633, allocations: 39.44 kB / 3.522 GB, free: 14.2 MB / 458.7 MB Notification: Performance of SimCode: time 9.31e-07/7.633, allocations: 4 kB / 3.522 GB, free: 14.2 MB / 458.7 MB Notification: Performance of Templates: time 0.3367/7.97, allocations: 37.57 MB / 3.558 GB, free: 73.14 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)