Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.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.TestPressure,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01398/0.01398, allocations: 165.9 kB / 15.11 MB, free: 5.984 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.705/1.705, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.002051/0.002051, allocations: 106.1 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.5469/0.5469, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004634, allocations: 16 kB / 363 MB, free: 5.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1105, allocations: 48.71 MB / 411.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.8/7.91, allocations: 2.485 GB / 2.887 GB, free: 48.65 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/7.911, allocations: 84.52 kB / 2.887 GB, free: 48.61 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 .... Notification: Performance of FrontEnd - DAE generated: time 2.336/10.25, allocations: 400.8 MB / 3.278 GB, free: 37.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.875e-06/10.25, allocations: 0 / 3.278 GB, free: 37.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.013e-05/10.25, allocations: 9.812 kB / 3.278 GB, free: 37.82 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.006783/10.25, allocations: 1.536 MB / 3.28 GB, free: 37.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/10.25, allocations: 13.12 kB / 3.28 GB, free: 37.23 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001981/10.25, allocations: 76.14 kB / 3.28 GB, free: 37.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/10.26, allocations: 235 kB / 3.28 GB, free: 37.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/10.26, allocations: 439.6 kB / 3.281 GB, free: 36.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/10.26, allocations: 36.94 kB / 3.281 GB, free: 36.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/10.26, allocations: 33.94 kB / 3.281 GB, free: 36.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/10.26, allocations: 0.6917 MB / 3.281 GB, free: 36.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/10.26, allocations: 3.094 kB / 3.281 GB, free: 36.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/10.26, allocations: 23.66 kB / 3.281 GB, free: 36.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/10.26, allocations: 10.22 kB / 3.281 GB, free: 36.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/10.26, allocations: 0.5788 MB / 3.282 GB, free: 36.77 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.004345/10.27, allocations: 3.145 MB / 3.285 GB, free: 34.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/10.27, allocations: 383.9 kB / 3.285 GB, free: 34.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3063/10.58, allocations: 80.51 MB / 3.364 GB, free: 23.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/10.58, allocations: 43.94 kB / 3.364 GB, free: 23.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 2.354e-06/10.58, allocations: 1.031 kB / 3.364 GB, free: 23.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=27): time 0.004049/10.58, allocations: 0.7927 MB / 3.365 GB, free: 23.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/10.58, allocations: 110.6 kB / 3.365 GB, free: 22.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/10.58, allocations: 307.2 kB / 3.365 GB, free: 22.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/10.58, allocations: 28.83 kB / 3.365 GB, free: 22.74 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/10.58, allocations: 275.4 kB / 3.366 GB, free: 22.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/10.58, allocations: 95.73 kB / 3.366 GB, free: 22.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/10.58, allocations: 9.188 kB / 3.366 GB, free: 22.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/10.58, allocations: 348.6 kB / 3.366 GB, free: 22.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/10.58, allocations: 123.2 kB / 3.366 GB, free: 22.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/10.58, allocations: 319.4 kB / 3.366 GB, free: 21.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/10.58, allocations: 168.5 kB / 3.367 GB, free: 21.97 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/10.58, allocations: 3.719 kB / 3.367 GB, free: 21.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001618/10.58, allocations: 0.4926 MB / 3.367 GB, free: 21.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009533/10.59, allocations: 2.449 MB / 3.369 GB, free: 19.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/10.59, allocations: 7.312 kB / 3.369 GB, free: 19.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/10.59, allocations: 200.3 kB / 3.37 GB, free: 19.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/10.59, allocations: 105.6 kB / 3.37 GB, free: 19.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006725/10.59, allocations: 0.5861 MB / 3.37 GB, free: 18.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006911/10.59, allocations: 61.81 kB / 3.37 GB, free: 18.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/10.59, allocations: 29.39 kB / 3.37 GB, free: 18.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/10.59, allocations: 3.938 kB / 3.37 GB, free: 18.79 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/10.59, allocations: 421 kB / 3.371 GB, free: 18.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/10.59, allocations: 8.25 kB / 3.371 GB, free: 18.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/10.59, allocations: 9.969 kB / 3.371 GB, free: 18.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/10.59, allocations: 120.2 kB / 3.371 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/10.59, allocations: 14.12 kB / 3.371 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/10.59, allocations: 61.03 kB / 3.371 GB, free: 18.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/10.59, allocations: 22.97 kB / 3.371 GB, free: 18.76 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.0004167/10.59, allocations: 256.5 kB / 3.371 GB, free: 18.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.83e-05/10.59, allocations: 38.84 kB / 3.371 GB, free: 18.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/10.6, allocations: 1.849 MB / 3.373 GB, free: 18.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/10.6, allocations: 26.56 kB / 3.373 GB, free: 18.31 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/10.6, allocations: 0 / 3.373 GB, free: 18.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/10.6, allocations: 11.2 kB / 3.373 GB, free: 18.31 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/10.6, allocations: 0.9349 MB / 3.374 GB, free: 18.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/10.6, allocations: 0 / 3.374 GB, free: 18.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/10.6, allocations: 65.2 kB / 3.374 GB, free: 18.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/10.6, allocations: 0.5814 MB / 3.375 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/10.6, allocations: 7.75 kB / 3.375 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/10.6, allocations: 0.9977 MB / 3.376 GB, free: 17.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/10.6, allocations: 3.953 kB / 3.376 GB, free: 17.46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/10.6, allocations: 1.249 MB / 3.377 GB, free: 17.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/10.6, allocations: 242.3 kB / 3.377 GB, free: 17.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.371e-05/10.61, allocations: 7.25 kB / 3.377 GB, free: 17.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/10.61, allocations: 26.59 kB / 3.377 GB, free: 17.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/10.61, allocations: 32.73 kB / 3.377 GB, free: 17.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/10.61, allocations: 18.23 kB / 3.377 GB, free: 17.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005013/10.61, allocations: 295 kB / 3.378 GB, free: 16.94 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.703e-06/10.61, allocations: 0 / 3.378 GB, free: 16.94 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006171/10.61, allocations: 1.2 MB / 3.379 GB, free: 16.76 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.01333/10.63, allocations: 3.125 MB / 3.382 GB, free: 31.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002504/10.63, allocations: 0.764 MB / 3.383 GB, free: 31.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/10.63, allocations: 384 / 3.383 GB, free: 31.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009248/10.63, allocations: 476.1 kB / 3.383 GB, free: 31.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/10.63, allocations: 179.5 kB / 3.383 GB, free: 31.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8183/11.45, allocations: 156.2 MB / 3.536 GB, free: 76.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/11.45, allocations: 0.9897 MB / 3.537 GB, free: 75.83 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001268/11.45, allocations: 418.2 kB / 3.537 GB, free: 75.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/11.45, allocations: 260.2 kB / 3.537 GB, free: 75.82 MB / 490.7 MB Notification: Performance of SimCode: time 1.933e-06/11.45, allocations: 2.25 kB / 3.537 GB, free: 75.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/11.58, allocations: 43.84 MB / 3.58 GB, free: 73.51 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/11.58, allocations: 264.7 kB / 3.58 GB, free: 73.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.477/16.06, allocations: 0 / 3.58 GB, free: 73.16 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat