Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008621/0.0008617, allocations: 94.92 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.295e-05/2.249e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1571, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.731/8.888, allocations: 2.823 GB / 3.317 GB, free: 76.35 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/8.888, allocations: 79.08 kB / 3.318 GB, free: 76.31 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:306:3-308: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.256/12.14, allocations: 0.7497 GB / 4.067 GB, free: 44.37 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.667e-06/12.14, allocations: 2.844 kB / 4.067 GB, free: 44.37 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001295/12.14, allocations: 39.56 kB / 4.067 GB, free: 44.37 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01301/12.16, allocations: 2.726 MB / 4.07 GB, free: 43.18 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/12.16, allocations: 15.42 kB / 4.07 GB, free: 43.18 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004823/12.16, allocations: 0.6028 MB / 4.071 GB, free: 43.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/12.17, allocations: 1.069 MB / 4.072 GB, free: 42.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/12.17, allocations: 47.88 kB / 4.072 GB, free: 42.77 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/12.17, allocations: 60.03 kB / 4.072 GB, free: 42.77 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00275/12.17, allocations: 1.748 MB / 4.073 GB, free: 42.77 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/12.17, allocations: 1.555 MB / 4.075 GB, free: 42.43 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/12.17, allocations: 4.406 kB / 4.075 GB, free: 42.43 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/12.17, allocations: 10.77 kB / 4.075 GB, free: 42.42 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/12.17, allocations: 82.58 kB / 4.075 GB, free: 42.42 MB / 0.5417 GB 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.3168/12.49, allocations: 167.3 MB / 4.238 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/12.49, allocations: 1.124 MB / 4.239 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007353/12.49, allocations: 0.5675 MB / 4.24 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4743/12.97, allocations: 16.91 MB / 4.257 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.448e-05/12.97, allocations: 44.55 kB / 4.257 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001616/12.97, allocations: 180.5 kB / 4.257 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=91): time 3.436e-06/12.97, allocations: 1.094 kB / 4.257 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=91): time 0.008776/12.98, allocations: 2.393 MB / 4.259 GB, free: 117.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/12.98, allocations: 222.3 kB / 4.259 GB, free: 117.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/12.98, allocations: 0.7459 MB / 4.26 GB, free: 117 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/12.98, allocations: 26.7 kB / 4.26 GB, free: 117 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/12.98, allocations: 0.6247 MB / 4.261 GB, free: 116.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/12.98, allocations: 310.4 kB / 4.261 GB, free: 116.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-05/12.98, allocations: 3.844 kB / 4.261 GB, free: 116.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001144/12.98, allocations: 352.6 kB / 4.261 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007572/12.98, allocations: 0.5332 MB / 4.262 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/12.98, allocations: 0.8853 MB / 4.263 GB, free: 115.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005759/12.99, allocations: 1.194 MB / 4.264 GB, free: 115.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-05/12.99, allocations: 3.531 kB / 4.264 GB, free: 115.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.008434/12.99, allocations: 2.296 MB / 4.266 GB, free: 115.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001057/13, allocations: 3.753 MB / 4.27 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/13, allocations: 9.344 kB / 4.27 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005821/13, allocations: 1.054 MB / 4.271 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/13, allocations: 277.1 kB / 4.271 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004578/13.01, allocations: 1.777 MB / 4.273 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/13.01, allocations: 188.3 kB / 4.273 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/13.01, allocations: 68.38 kB / 4.273 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/13.01, allocations: 7.656 kB / 4.273 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006292/13.02, allocations: 1.765 MB / 4.275 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/13.02, allocations: 10.72 kB / 4.275 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007231/13.02, allocations: 186.8 kB / 4.275 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/13.02, allocations: 345.2 kB / 4.275 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000776/13.02, allocations: 0.7583 MB / 4.276 GB, free: 110.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/13.02, allocations: 153.6 kB / 4.276 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/13.02, allocations: 69.75 kB / 4.276 GB, free: 110.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,pump.heatTransfer.states[1].phase,source.medium.phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * 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 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0004362/13.02, allocations: 152.3 kB / 4.276 GB, free: 110.6 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006314/13.03, allocations: 1.846 MB / 4.278 GB, free: 110.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/13.03, allocations: 115.3 kB / 4.278 GB, free: 110.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007562/13.04, allocations: 3.864 MB / 4.282 GB, free: 110.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/13.04, allocations: 33.95 kB / 4.282 GB, free: 110.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/13.04, allocations: 0 / 4.282 GB, free: 110.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/13.04, allocations: 6.281 kB / 4.282 GB, free: 110.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009653/13.05, allocations: 5.317 MB / 4.287 GB, free: 109.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/13.05, allocations: 8.719 kB / 4.287 GB, free: 109.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/13.05, allocations: 106.5 kB / 4.287 GB, free: 109.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004447/13.05, allocations: 2.507 MB / 4.29 GB, free: 109.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.967e-05/13.05, allocations: 18.78 kB / 4.29 GB, free: 109.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004576/13.06, allocations: 2.872 MB / 4.293 GB, free: 109.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/13.06, allocations: 3.406 kB / 4.293 GB, free: 109.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007094/13.06, allocations: 3.086 MB / 4.296 GB, free: 108.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/13.06, allocations: 464.8 kB / 4.296 GB, free: 108.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/13.06, allocations: 0 / 4.296 GB, free: 108.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/13.06, allocations: 105.9 kB / 4.296 GB, free: 108.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/13.06, allocations: 72.77 kB / 4.296 GB, free: 108.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.937e-05/13.06, allocations: 34.61 kB / 4.296 GB, free: 108.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001277/13.07, allocations: 0.84 MB / 4.297 GB, free: 108.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/13.07, allocations: 0 / 4.297 GB, free: 108.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01001/13.08, allocations: 1.878 MB / 4.299 GB, free: 108.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01473/13.09, allocations: 5.507 MB / 4.304 GB, free: 107.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00445/13.1, allocations: 2.32 MB / 4.307 GB, free: 107.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/13.1, allocations: 6.344 kB / 4.307 GB, free: 107.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/13.1, allocations: 0.902 MB / 4.308 GB, free: 107.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/13.1, allocations: 493.4 kB / 4.308 GB, free: 107.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007431/13.11, allocations: 3.107 MB / 4.311 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/13.11, allocations: 1.394 MB / 4.312 GB, free: 105.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002684/13.11, allocations: 1.775 MB / 4.314 GB, free: 105.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006645/13.11, allocations: 0.5861 MB / 4.315 GB, free: 105.7 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/13.11, allocations: 0 / 4.315 GB, free: 105.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/13.23, allocations: 70.36 MB / 4.383 GB, free: 102.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/13.23, allocations: 202.3 kB / 4.384 GB, free: 102.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.807/18.04, allocations: 0 / 4.384 GB, free: 102.1 MB / 0.6198 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat