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.001825/0.001825, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 223.2 MB / 241 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 94.02 kB / 292.1 MB, free: 10.72 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.4179/0.4179, allocations: 44.21 MB / 387.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004582, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.4953, allocations: 61.9 MB / 0.5096 GB, free: 37.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.406/7.901, allocations: 2.823 GB / 3.333 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/7.901, allocations: 92.48 kB / 3.333 GB, free: 30.5 MB / 0.5261 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.087/10.99, allocations: 0.7584 GB / 4.092 GB, free: 44.55 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.164e-06/10.99, allocations: 2.719 kB / 4.092 GB, free: 44.55 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001068/10.99, allocations: 35.06 kB / 4.092 GB, free: 44.54 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.01319/11, allocations: 2.881 MB / 4.094 GB, free: 43.06 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/11, allocations: 7.906 kB / 4.094 GB, free: 43.06 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006006/11, allocations: 178.5 kB / 4.095 GB, free: 43.02 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004777/11.01, allocations: 0.5957 MB / 4.095 GB, free: 42.94 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/11.01, allocations: 1.077 MB / 4.096 GB, free: 42.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/11.01, allocations: 93.95 kB / 4.096 GB, free: 42.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/11.01, allocations: 109.7 kB / 4.096 GB, free: 42.61 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005115/11.02, allocations: 2.272 MB / 4.099 GB, free: 42.26 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/11.02, allocations: 6.438 kB / 4.099 GB, free: 42.26 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/11.02, allocations: 53.56 kB / 4.099 GB, free: 42.26 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/11.02, allocations: 89.53 kB / 4.099 GB, free: 42.25 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005135/11.02, allocations: 2.388 MB / 4.101 GB, free: 42.21 MB / 0.5417 GB 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.01271/11.03, allocations: 9.203 MB / 4.11 GB, free: 37.13 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004689/11.04, allocations: 1.913 MB / 4.112 GB, free: 37.08 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04161/11.08, allocations: 24.44 MB / 4.136 GB, free: 21.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/11.08, allocations: 45.81 kB / 4.136 GB, free: 21.45 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001715/11.08, allocations: 213.5 kB / 4.136 GB, free: 21.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=109): time 4.188e-06/11.08, allocations: 0 / 4.136 GB, free: 21.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109): time 0.0171/11.1, allocations: 4.456 MB / 4.14 GB, free: 20.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/11.1, allocations: 218 kB / 4.141 GB, free: 20.36 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/11.1, allocations: 0.8324 MB / 4.141 GB, free: 20 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/11.1, allocations: 45.42 kB / 4.141 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/11.1, allocations: 0.5689 MB / 4.142 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/11.1, allocations: 371.1 kB / 4.142 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/11.1, allocations: 22.75 kB / 4.142 GB, free: 19.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00011/11.1, allocations: 354.4 kB / 4.143 GB, free: 18.88 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/11.1, allocations: 0.6492 MB / 4.143 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/11.1, allocations: 1.026 MB / 4.144 GB, free: 17.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/11.11, allocations: 0.7598 MB / 4.145 GB, free: 17.66 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/11.11, allocations: 3.656 kB / 4.145 GB, free: 17.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003741/11.11, allocations: 2.069 MB / 4.147 GB, free: 16.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008533/11.11, allocations: 3.755 MB / 4.151 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/11.11, allocations: 10.34 kB / 4.151 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02813/11.14, allocations: 3.032 MB / 4.154 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/11.14, allocations: 274.8 kB / 4.154 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/11.14, allocations: 1.448 MB / 4.155 GB, free: 27.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/11.15, allocations: 141.7 kB / 4.156 GB, free: 27.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/11.15, allocations: 74.14 kB / 4.156 GB, free: 27.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/11.15, allocations: 3.094 kB / 4.156 GB, free: 27.66 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004038/11.15, allocations: 1.789 MB / 4.157 GB, free: 27.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/11.15, allocations: 15.52 kB / 4.157 GB, free: 27.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008193/11.15, allocations: 191.2 kB / 4.158 GB, free: 26.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/11.15, allocations: 349.8 kB / 4.158 GB, free: 26.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009339/11.15, allocations: 0.7441 MB / 4.159 GB, free: 26.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/11.16, allocations: 143.8 kB / 4.159 GB, free: 26.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/11.16, allocations: 65.89 kB / 4.159 GB, free: 26.28 MB / 0.5573 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,source.medium.phase,pump.heatTransfer.states[1].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 () * Number of clocked 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.001018/11.16, allocations: 425 kB / 4.159 GB, free: 25.97 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/11.16, allocations: 133.5 kB / 4.159 GB, free: 25.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007325/11.16, allocations: 5.671 MB / 4.165 GB, free: 21.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/11.16, allocations: 58.73 kB / 4.165 GB, free: 21.09 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/11.16, allocations: 8 kB / 4.165 GB, free: 21.08 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/11.16, allocations: 7.266 kB / 4.165 GB, free: 21.08 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/11.17, allocations: 7.717 MB / 4.173 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/11.17, allocations: 0 / 4.173 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009403/11.18, allocations: 209.8 kB / 4.173 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02835/11.2, allocations: 4.004 MB / 4.177 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004368/11.2, allocations: 27.52 kB / 4.177 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003807/11.21, allocations: 2.377 MB / 4.179 GB, free: 8.883 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/11.21, allocations: 3.469 kB / 4.179 GB, free: 8.883 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006322/11.21, allocations: 3.683 MB / 4.183 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/11.22, allocations: 0.653 MB / 4.183 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/11.22, allocations: 20 kB / 4.183 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/11.22, allocations: 136.2 kB / 4.183 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/11.22, allocations: 104.6 kB / 4.184 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/11.22, allocations: 39.89 kB / 4.184 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001592/11.22, allocations: 1.063 MB / 4.185 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/11.22, allocations: 0 / 4.185 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009193/11.23, allocations: 1.962 MB / 4.187 GB, free: 1.922 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 80 * 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: 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.5004/11.73, allocations: 6.009 MB / 4.192 GB, free: 58.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008151/11.74, allocations: 3.027 MB / 4.195 GB, free: 58.14 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/11.74, allocations: 1.422 kB / 4.195 GB, free: 58.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003126/11.74, allocations: 1.487 MB / 4.197 GB, free: 58.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/11.74, allocations: 0.6903 MB / 4.197 GB, free: 58.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/11.76, allocations: 13.35 MB / 4.21 GB, free: 48.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/11.76, allocations: 1.622 MB / 4.212 GB, free: 47.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003113/11.77, allocations: 1.47 MB / 4.214 GB, free: 47.94 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/11.77, allocations: 0.8106 MB / 4.214 GB, free: 47.93 MB / 0.5573 GB Notification: Performance of SimCode: time 1.312e-06/11.77, allocations: 2.406 kB / 4.214 GB, free: 47.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1746/11.94, allocations: 88.14 MB / 4.3 GB, free: 44.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/11.94, allocations: 277.1 kB / 4.301 GB, free: 44.22 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.836/17.78, allocations: 0 / 4.301 GB, free: 44.22 MB / 0.5573 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