Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01473/0.01473, allocations: 176.4 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.037/2.037, allocations: 194.5 MB / 210.3 MB, free: 7.801 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002047/0.002047, allocations: 120.7 kB / 255.6 MB, free: 10.42 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2843/0.2843, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004864, allocations: 13.66 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 54.87 MB / 461.1 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.91/8.02, allocations: 2.596 GB / 3.046 GB, free: 76.98 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/8.02, allocations: 89.84 kB / 3.046 GB, free: 76.93 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/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 2.069/10.09, allocations: 411 MB / 3.447 GB, free: 52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.415e-06/10.09, allocations: 0 / 3.447 GB, free: 52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.779e-05/10.09, allocations: 15.78 kB / 3.447 GB, free: 52 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.006728/10.1, allocations: 1.569 MB / 3.449 GB, free: 51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/10.1, allocations: 16 kB / 3.449 GB, free: 51 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/10.1, allocations: 80.61 kB / 3.449 GB, free: 50.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/10.1, allocations: 240.3 kB / 3.449 GB, free: 50.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/10.1, allocations: 444.2 kB / 3.45 GB, free: 50.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/10.1, allocations: 33.17 kB / 3.45 GB, free: 50.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-05/10.1, allocations: 36.34 kB / 3.45 GB, free: 50.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/10.1, allocations: 0.6831 MB / 3.45 GB, free: 50.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/10.1, allocations: 0 / 3.45 GB, free: 50.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/10.1, allocations: 22.62 kB / 3.451 GB, free: 50.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/10.1, allocations: 11.12 kB / 3.451 GB, free: 50.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/10.11, allocations: 0.5782 MB / 3.451 GB, free: 50.07 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.004315/10.11, allocations: 3.148 MB / 3.454 GB, free: 47.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/10.11, allocations: 395.4 kB / 3.455 GB, free: 47.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6687/10.78, allocations: 80.6 MB / 3.533 GB, free: 69.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/10.78, allocations: 40.47 kB / 3.533 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 3.407e-06/10.78, allocations: 0.5625 kB / 3.533 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.004048/10.78, allocations: 0.7946 MB / 3.534 GB, free: 69.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/10.78, allocations: 106.4 kB / 3.534 GB, free: 69.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/10.79, allocations: 305.9 kB / 3.534 GB, free: 68.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/10.79, allocations: 28.52 kB / 3.534 GB, free: 68.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/10.79, allocations: 275.5 kB / 3.535 GB, free: 68.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.586e-05/10.79, allocations: 94.12 kB / 3.535 GB, free: 68.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/10.79, allocations: 9.5 kB / 3.535 GB, free: 68.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/10.79, allocations: 348.3 kB / 3.535 GB, free: 68.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/10.79, allocations: 118.3 kB / 3.535 GB, free: 68.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/10.79, allocations: 318.2 kB / 3.536 GB, free: 68.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/10.79, allocations: 168.3 kB / 3.536 GB, free: 68.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/10.79, allocations: 0 / 3.536 GB, free: 68.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001637/10.79, allocations: 0.4986 MB / 3.536 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005435/10.79, allocations: 2.441 MB / 3.539 GB, free: 65.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/10.79, allocations: 11.09 kB / 3.539 GB, free: 65.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/10.79, allocations: 204.7 kB / 3.539 GB, free: 65.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/10.79, allocations: 102 kB / 3.539 GB, free: 65.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000574/10.79, allocations: 0.5919 MB / 3.54 GB, free: 65.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/10.79, allocations: 68.53 kB / 3.54 GB, free: 65.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/10.79, allocations: 23.28 kB / 3.54 GB, free: 65.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/10.79, allocations: 3.906 kB / 3.54 GB, free: 65.03 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001326/10.8, allocations: 421.7 kB / 3.54 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/10.8, allocations: 11.75 kB / 3.54 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/10.8, allocations: 7.375 kB / 3.54 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/10.8, allocations: 119.3 kB / 3.54 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/10.8, allocations: 7.656 kB / 3.54 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/10.8, allocations: 59.61 kB / 3.54 GB, free: 65.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/10.8, allocations: 31.28 kB / 3.54 GB, free: 65.01 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.0003611/10.8, allocations: 248.9 kB / 3.54 GB, free: 64.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/10.8, allocations: 43.22 kB / 3.541 GB, free: 64.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/10.8, allocations: 1.85 MB / 3.542 GB, free: 64.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/10.8, allocations: 27.27 kB / 3.542 GB, free: 64.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/10.8, allocations: 0 / 3.542 GB, free: 64.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/10.8, allocations: 3.469 kB / 3.542 GB, free: 64.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/10.8, allocations: 0.932 MB / 3.543 GB, free: 64.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/10.8, allocations: 0 / 3.543 GB, free: 64.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/10.8, allocations: 71.25 kB / 3.543 GB, free: 64.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/10.81, allocations: 0.5869 MB / 3.544 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/10.81, allocations: 11.75 kB / 3.544 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008867/10.81, allocations: 0.9849 MB / 3.545 GB, free: 63.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/10.81, allocations: 0 / 3.545 GB, free: 63.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/10.81, allocations: 1.248 MB / 3.546 GB, free: 63.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/10.81, allocations: 238.8 kB / 3.546 GB, free: 63.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/10.81, allocations: 6.625 kB / 3.546 GB, free: 63.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/10.81, allocations: 32 kB / 3.546 GB, free: 63.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/10.81, allocations: 32.61 kB / 3.546 GB, free: 63.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/10.81, allocations: 14.5 kB / 3.546 GB, free: 63.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004797/10.81, allocations: 296 kB / 3.547 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.21e-07/10.81, allocations: 0 / 3.547 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006277/10.82, allocations: 1.197 MB / 3.548 GB, free: 63.33 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.01234/10.83, allocations: 3.15 MB / 3.551 GB, free: 62.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002504/10.83, allocations: 0.7696 MB / 3.552 GB, free: 62.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/10.83, allocations: 0 / 3.552 GB, free: 62.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008806/10.83, allocations: 474.8 kB / 3.552 GB, free: 62.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/10.83, allocations: 176.1 kB / 3.552 GB, free: 62.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8111/11.65, allocations: 158.7 MB / 3.707 GB, free: 70.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006599/11.65, allocations: 0.9852 MB / 3.708 GB, free: 69.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001507/11.65, allocations: 426.9 kB / 3.709 GB, free: 69.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000532/11.65, allocations: 264.3 kB / 3.709 GB, free: 69.94 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/11.65, allocations: 0 / 3.709 GB, free: 69.94 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/11.76, allocations: 44 MB / 3.752 GB, free: 69.26 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/11.76, allocations: 252.8 kB / 3.752 GB, free: 68.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.6/16.37, allocations: 0 / 3.752 GB, free: 68.93 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat