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.00149/0.00149, allocations: 181.5 kB / 14.15 MB, free: 1.164 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.557/1.557, allocations: 221.3 MB / 236 MB, free: 2.938 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.0009116/0.0009115, allocations: 91.98 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2742/0.2742, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.02e-05/6.022e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2226, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.638/8.861, allocations: 2.823 GB / 3.325 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/8.861, allocations: 77.52 kB / 3.325 GB, free: 47.42 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.356/12.22, allocations: 0.7563 GB / 4.082 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.956e-06/12.22, allocations: 0 / 4.082 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000115/12.22, allocations: 36.38 kB / 4.082 GB, free: 48.2 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.0141/12.23, allocations: 2.726 MB / 4.084 GB, free: 46.87 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/12.23, allocations: 11.53 kB / 4.084 GB, free: 46.87 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008617/12.23, allocations: 168.3 kB / 4.084 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005462/12.24, allocations: 0.6072 MB / 4.085 GB, free: 46.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003659/12.24, allocations: 1.066 MB / 4.086 GB, free: 46.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/12.24, allocations: 88.91 kB / 4.086 GB, free: 46.42 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006021/12.24, allocations: 105.5 kB / 4.086 GB, free: 46.42 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006659/12.25, allocations: 2.256 MB / 4.088 GB, free: 46.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.418e-05/12.25, allocations: 6.656 kB / 4.088 GB, free: 46.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003969/12.25, allocations: 56.41 kB / 4.088 GB, free: 46.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/12.25, allocations: 87.67 kB / 4.089 GB, free: 46.06 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005652/12.26, allocations: 2.267 MB / 4.091 GB, free: 46.05 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.01566/12.27, allocations: 9.19 MB / 4.1 GB, free: 41.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004287/12.28, allocations: 1.753 MB / 4.101 GB, free: 40.99 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/12.28, allocations: 0.6866 MB / 4.102 GB, free: 40.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04996/12.33, allocations: 24.52 MB / 4.126 GB, free: 25.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.543e-05/12.33, allocations: 51.72 kB / 4.126 GB, free: 25.67 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001911/12.33, allocations: 214.2 kB / 4.126 GB, free: 25.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=109): time 1.218e-05/12.33, allocations: 0 / 4.126 GB, free: 25.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109): time 0.009761/12.34, allocations: 2.602 MB / 4.129 GB, free: 25.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/12.34, allocations: 217.8 kB / 4.129 GB, free: 25.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/12.34, allocations: 0.8371 MB / 4.13 GB, free: 25.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003478/12.34, allocations: 46.77 kB / 4.13 GB, free: 25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005604/12.34, allocations: 0.5563 MB / 4.13 GB, free: 24.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005844/12.34, allocations: 381.3 kB / 4.131 GB, free: 24.53 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/12.34, allocations: 19.91 kB / 4.131 GB, free: 24.53 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001974/12.34, allocations: 360.7 kB / 4.131 GB, free: 24.22 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/12.34, allocations: 0.5455 MB / 4.132 GB, free: 24.22 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/12.35, allocations: 0.9154 MB / 4.133 GB, free: 23.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/12.35, allocations: 0.6707 MB / 4.133 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/12.35, allocations: 3.719 kB / 4.133 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003712/12.35, allocations: 1.854 MB / 4.135 GB, free: 23.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001061/12.35, allocations: 3.748 MB / 4.139 GB, free: 19.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/12.35, allocations: 6.438 kB / 4.139 GB, free: 19.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0272/12.38, allocations: 2.988 MB / 4.142 GB, free: 19.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/12.38, allocations: 282.1 kB / 4.142 GB, free: 19.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/12.38, allocations: 1.394 MB / 4.143 GB, free: 19.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/12.39, allocations: 141 kB / 4.143 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004164/12.39, allocations: 75.69 kB / 4.144 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/12.39, allocations: 2.906 kB / 4.144 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004374/12.39, allocations: 1.586 MB / 4.145 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.399e-05/12.39, allocations: 11.31 kB / 4.145 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008409/12.39, allocations: 200 kB / 4.145 GB, free: 18.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/12.39, allocations: 349 kB / 4.146 GB, free: 18.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008426/12.39, allocations: 0.7354 MB / 4.146 GB, free: 18.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/12.4, allocations: 142.8 kB / 4.146 GB, free: 18.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003057/12.4, allocations: 69.08 kB / 4.147 GB, free: 18.42 MB / 0.5417 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 () * 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.0006875/12.4, allocations: 195.4 kB / 4.147 GB, free: 18.28 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005537/12.4, allocations: 126.3 kB / 4.147 GB, free: 18.22 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007992/12.41, allocations: 5.491 MB / 4.152 GB, free: 17.49 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.648e-05/12.41, allocations: 58.27 kB / 4.152 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/12.41, allocations: 0 / 4.152 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/12.41, allocations: 9.953 kB / 4.152 GB, free: 17.47 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/12.42, allocations: 7.537 MB / 4.16 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/12.42, allocations: 0 / 4.16 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008625/12.42, allocations: 210.7 kB / 4.16 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02447/12.44, allocations: 4.285 MB / 4.164 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004321/12.44, allocations: 29.5 kB / 4.164 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003188/12.45, allocations: 2.342 MB / 4.166 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/12.45, allocations: 0 / 4.166 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005736/12.45, allocations: 3.5 MB / 4.17 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/12.45, allocations: 0.6495 MB / 4.17 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005734/12.45, allocations: 24 kB / 4.17 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/12.46, allocations: 130.7 kB / 4.171 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/12.46, allocations: 106.3 kB / 4.171 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/12.46, allocations: 46.7 kB / 4.171 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002092/12.46, allocations: 1.032 MB / 4.172 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.01e-07/12.46, allocations: 5.219 kB / 4.172 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0115/12.47, allocations: 1.954 MB / 4.174 GB, free: 4.73 MB / 0.5417 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 () * 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.01961/12.49, allocations: 5.785 MB / 4.179 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008301/12.5, allocations: 2.76 MB / 4.182 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/12.5, allocations: 2.062 kB / 4.182 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003147/12.5, allocations: 1.387 MB / 4.183 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004606/12.51, allocations: 0.6851 MB / 4.184 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/12.52, allocations: 4.23 MB / 4.188 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/12.52, allocations: 1.624 MB / 4.19 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004596/12.53, allocations: 1.532 MB / 4.191 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/12.53, allocations: 0.8004 MB / 4.192 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of SimCode: time 1.412e-06/12.53, allocations: 0 / 4.192 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7158/13.24, allocations: 94.19 MB / 4.284 GB, free: 58.45 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/13.25, allocations: 258.3 kB / 4.284 GB, free: 58.11 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.777/19.02, allocations: 0 / 4.284 GB, free: 58.11 MB / 0.573 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