Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",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.001099/0.001099, 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.485/1.485, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.0008722/0.000872, allocations: 86.02 kB / 281.5 MB, free: 5.285 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.2322/0.2322, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.973e-05, allocations: 4.219 kB / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1608, allocations: 61.91 MB / 0.4948 GB, free: 1.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.69/8.85, allocations: 2.823 GB / 3.317 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/8.851, allocations: 78.45 kB / 3.318 GB, free: 122.3 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.154/12, allocations: 0.7497 GB / 4.067 GB, free: 41.63 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.174e-06/12, allocations: 0 / 4.067 GB, free: 41.63 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001298/12, allocations: 39.06 kB / 4.067 GB, free: 41.63 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.0169/12.02, allocations: 2.727 MB / 4.07 GB, free: 40.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 9.923e-05/12.02, allocations: 14.36 kB / 4.07 GB, free: 40.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007372/12.03, allocations: 0.6005 MB / 4.071 GB, free: 40.53 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004708/12.03, allocations: 1.069 MB / 4.072 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/12.03, allocations: 46.19 kB / 4.072 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003121/12.03, allocations: 65.19 kB / 4.072 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003535/12.04, allocations: 1.751 MB / 4.073 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/12.04, allocations: 1.556 MB / 4.075 GB, free: 39.85 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/12.04, allocations: 4.688 kB / 4.075 GB, free: 39.85 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/12.04, allocations: 4.156 kB / 4.075 GB, free: 39.85 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/12.04, allocations: 89.41 kB / 4.075 GB, free: 39.84 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.3123/12.35, allocations: 167.3 MB / 4.238 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/12.36, allocations: 1.135 MB / 4.239 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000769/12.36, allocations: 0.5724 MB / 4.24 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03371/12.39, allocations: 16.91 MB / 4.257 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/12.39, allocations: 42.66 kB / 4.257 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001675/12.39, allocations: 173.6 kB / 4.257 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=91): time 5.58e-06/12.39, allocations: 0 / 4.257 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91): time 0.009591/12.4, allocations: 2.402 MB / 4.259 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/12.4, allocations: 222.6 kB / 4.259 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/12.4, allocations: 0.7423 MB / 4.26 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/12.4, allocations: 29.45 kB / 4.26 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/12.4, allocations: 0.6239 MB / 4.261 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000296/12.4, allocations: 309.6 kB / 4.261 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/12.4, allocations: 0 / 4.261 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001579/12.4, allocations: 360.2 kB / 4.261 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007764/12.41, allocations: 0.5354 MB / 4.262 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/12.41, allocations: 0.8873 MB / 4.263 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005158/12.41, allocations: 1.186 MB / 4.264 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/12.41, allocations: 4 kB / 4.264 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007379/12.42, allocations: 2.295 MB / 4.266 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001495/12.42, allocations: 3.757 MB / 4.27 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/12.42, allocations: 12 kB / 4.27 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005581/12.43, allocations: 1.053 MB / 4.271 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/12.43, allocations: 284 kB / 4.271 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005195/12.43, allocations: 1.778 MB / 4.273 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/12.44, allocations: 178.8 kB / 4.273 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004398/12.44, allocations: 70.56 kB / 4.273 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/12.44, allocations: 4 kB / 4.273 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006803/12.44, allocations: 1.76 MB / 4.275 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.564e-05/12.44, allocations: 12 kB / 4.275 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000793/12.44, allocations: 187.6 kB / 4.275 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/12.45, allocations: 350.4 kB / 4.275 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/12.45, allocations: 0.7589 MB / 4.276 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/12.45, allocations: 150.2 kB / 4.276 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/12.45, allocations: 68.75 kB / 4.276 GB, free: 7.98 MB / 0.6355 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.0006372/12.45, allocations: 144.8 kB / 4.276 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007161/12.46, allocations: 1.841 MB / 4.278 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004532/12.46, allocations: 122.5 kB / 4.278 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008961/12.47, allocations: 3.869 MB / 4.282 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/12.47, allocations: 39.97 kB / 4.282 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/12.47, allocations: 0 / 4.282 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/12.47, allocations: 7.609 kB / 4.282 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/12.48, allocations: 5.303 MB / 4.287 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/12.48, allocations: 0 / 4.287 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/12.48, allocations: 124 kB / 4.287 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004905/12.48, allocations: 2.505 MB / 4.29 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/12.48, allocations: 4 kB / 4.29 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.472/12.96, allocations: 2.878 MB / 4.293 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/12.96, allocations: 4.312 kB / 4.293 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009146/12.97, allocations: 3.094 MB / 4.296 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/12.97, allocations: 468 kB / 4.296 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/12.97, allocations: 2.812 kB / 4.296 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/12.97, allocations: 98.34 kB / 4.296 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/12.97, allocations: 71.19 kB / 4.296 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/12.97, allocations: 35.12 kB / 4.296 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001771/12.97, allocations: 0.8337 MB / 4.297 GB, free: 135.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.078e-06/12.97, allocations: 0.5938 kB / 4.297 GB, free: 135.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01191/12.98, allocations: 1.88 MB / 4.299 GB, free: 135.1 MB / 0.6355 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.01901/13, allocations: 5.512 MB / 4.304 GB, free: 134 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005849/13.01, allocations: 2.322 MB / 4.307 GB, free: 134 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/13.01, allocations: 0.875 kB / 4.307 GB, free: 134 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/13.01, allocations: 0.9032 MB / 4.308 GB, free: 134 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/13.01, allocations: 486 kB / 4.308 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/13.02, allocations: 3.108 MB / 4.311 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/13.02, allocations: 1.399 MB / 4.312 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003605/13.03, allocations: 1.782 MB / 4.314 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008139/13.03, allocations: 0.5853 MB / 4.315 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.703e-06/13.03, allocations: 0 / 4.315 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/13.16, allocations: 70.36 MB / 4.383 GB, free: 130.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/13.16, allocations: 209.5 kB / 4.384 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.93/18.09, allocations: 0 / 4.384 GB, free: 129.8 MB / 0.6355 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat