Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009757/0.009761, allocations: 166.6 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.772/1.772, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001988/0.001988, allocations: 110.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4397/0.4397, allocations: 38.04 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.000488, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1319, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.899/8.03, allocations: 2.486 GB / 2.888 GB, free: 52.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/8.031, allocations: 85.89 kB / 2.889 GB, free: 52.93 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/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 .... [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/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 3.484/11.52, allocations: 0.6455 GB / 3.534 GB, free: 35.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.306e-06/11.52, allocations: 2.938 kB / 3.534 GB, free: 35.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.288e-05/11.52, allocations: 23.83 kB / 3.534 GB, free: 35.33 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009899/11.53, allocations: 2.205 MB / 3.536 GB, free: 34.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/11.53, allocations: 7.906 kB / 3.536 GB, free: 34.24 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003773/11.53, allocations: 128.8 kB / 3.536 GB, free: 34.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007409/11.53, allocations: 0.5273 MB / 3.537 GB, free: 34.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/11.54, allocations: 0.6961 MB / 3.538 GB, free: 33.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.961e-05/11.54, allocations: 67.03 kB / 3.538 GB, free: 33.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/11.54, allocations: 71.45 kB / 3.538 GB, free: 33.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004971/11.54, allocations: 1.363 MB / 3.539 GB, free: 33.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/11.54, allocations: 4.312 kB / 3.539 GB, free: 33.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/11.54, allocations: 38.67 kB / 3.539 GB, free: 33.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/11.54, allocations: 21.88 kB / 3.539 GB, free: 33.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005231/11.55, allocations: 1.233 MB / 3.54 GB, free: 33.59 MB / 458.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.008992/11.56, allocations: 5.464 MB / 3.546 GB, free: 29.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004319/11.56, allocations: 0.8556 MB / 3.546 GB, free: 29.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2345/11.79, allocations: 60.13 MB / 3.605 GB, free: 16.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/11.79, allocations: 45.34 kB / 3.605 GB, free: 16.12 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001168/11.8, allocations: 121.9 kB / 3.605 GB, free: 16.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=58): time 4.439e-06/11.8, allocations: 4 kB / 3.605 GB, free: 16.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.008558/11.8, allocations: 1.582 MB / 3.607 GB, free: 15.79 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/11.8, allocations: 188.4 kB / 3.607 GB, free: 15.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008594/11.81, allocations: 492.7 kB / 3.608 GB, free: 15.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/11.81, allocations: 40.23 kB / 3.608 GB, free: 15.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/11.81, allocations: 421.1 kB / 3.608 GB, free: 15.17 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/11.81, allocations: 204.2 kB / 3.608 GB, free: 15.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/11.81, allocations: 16.41 kB / 3.608 GB, free: 15.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/11.81, allocations: 375.4 kB / 3.609 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/11.81, allocations: 225.5 kB / 3.609 GB, free: 14.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/11.81, allocations: 0.5396 MB / 3.609 GB, free: 14.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/11.81, allocations: 302.4 kB / 3.61 GB, free: 14.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/11.81, allocations: 4 kB / 3.61 GB, free: 14.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003161/11.81, allocations: 0.8867 MB / 3.61 GB, free: 13.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001916/11.81, allocations: 3.831 MB / 3.614 GB, free: 25.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/11.81, allocations: 8 kB / 3.614 GB, free: 25.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005947/11.82, allocations: 388.9 kB / 3.615 GB, free: 25.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/11.82, allocations: 203.8 kB / 3.615 GB, free: 25.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/11.82, allocations: 1.128 MB / 3.616 GB, free: 24.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/11.83, allocations: 73.67 kB / 3.616 GB, free: 24.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/11.83, allocations: 55.47 kB / 3.616 GB, free: 24.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/11.83, allocations: 4 kB / 3.616 GB, free: 24.01 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002712/11.83, allocations: 0.7541 MB / 3.617 GB, free: 23.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/11.83, allocations: 8 kB / 3.617 GB, free: 23.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/11.83, allocations: 16 kB / 3.617 GB, free: 23.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/11.83, allocations: 214.5 kB / 3.617 GB, free: 23.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/11.83, allocations: 19.94 kB / 3.617 GB, free: 23.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/11.83, allocations: 65.31 kB / 3.617 GB, free: 23.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/11.83, allocations: 53 kB / 3.617 GB, free: 23.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 (boundary_fixed1.medium.phase,boundary_fixed.medium.phase,massFlowRate1.medium.phase,massFlowRate2.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007635/11.83, allocations: 316.8 kB / 3.617 GB, free: 23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/11.83, allocations: 71.16 kB / 3.617 GB, free: 22.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006589/11.84, allocations: 3.564 MB / 3.621 GB, free: 20.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/11.84, allocations: 46.92 kB / 3.621 GB, free: 20.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/11.84, allocations: 0 / 3.621 GB, free: 20.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/11.84, allocations: 7.406 kB / 3.621 GB, free: 20.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/11.84, allocations: 1.691 MB / 3.623 GB, free: 20.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/11.84, allocations: 3.938 kB / 3.623 GB, free: 20.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/11.84, allocations: 132.1 kB / 3.623 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00335/11.85, allocations: 0.7716 MB / 3.624 GB, free: 19.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/11.85, allocations: 21.94 kB / 3.624 GB, free: 19.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/11.85, allocations: 1.534 MB / 3.625 GB, free: 18.06 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/11.85, allocations: 0 / 3.625 GB, free: 18.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/11.85, allocations: 2.062 MB / 3.627 GB, free: 16.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008552/11.85, allocations: 417.9 kB / 3.627 GB, free: 16.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/11.85, allocations: 12 kB / 3.627 GB, free: 16.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009427/11.85, allocations: 61.5 kB / 3.628 GB, free: 16.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/11.85, allocations: 62.2 kB / 3.628 GB, free: 16.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/11.85, allocations: 20 kB / 3.628 GB, free: 16.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009942/11.86, allocations: 0.5329 MB / 3.628 GB, free: 15.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/11.86, allocations: 0 / 3.628 GB, free: 15.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007019/11.86, allocations: 1.318 MB / 3.629 GB, free: 14.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse22.region3boundary,$cse23.region3boundary,$cse24.phase,$cse24.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.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 (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01496/11.88, allocations: 4.153 MB / 3.633 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005108/11.88, allocations: 1.403 MB / 3.635 GB, free: 9.488 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/11.88, allocations: 8 kB / 3.635 GB, free: 9.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002104/11.88, allocations: 0.8267 MB / 3.636 GB, free: 8.719 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00332/11.89, allocations: 353.1 kB / 3.636 GB, free: 8.469 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.283/14.17, allocations: 426.2 MB / 4.052 GB, free: 50.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008565/14.17, allocations: 1.294 MB / 4.054 GB, free: 49.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002867/14.17, allocations: 1.127 MB / 4.055 GB, free: 49.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009648/14.18, allocations: 0.5422 MB / 4.055 GB, free: 49.45 MB / 490.7 MB Notification: Performance of SimCode: time 1.973e-06/14.18, allocations: 0 / 4.055 GB, free: 49.45 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/14.32, allocations: 59.43 MB / 4.113 GB, free: 46.32 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/14.32, allocations: 259.6 kB / 4.113 GB, free: 45.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.368/19.69, allocations: 0 / 4.113 GB, free: 45.98 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat