Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002803/0.002804, allocations: 178.3 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009968/0.0009971, allocations: 82.16 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2506/0.2506, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.286e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1585, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.43/8.589, allocations: 2.817 GB / 3.283 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/8.589, allocations: 87.36 kB / 3.284 GB, free: 140.1 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.144/11.73, allocations: 0.7415 GB / 4.025 GB, free: 45.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/11.73, allocations: 0 / 4.025 GB, free: 45.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001571/11.73, allocations: 40.19 kB / 4.025 GB, free: 45.18 MB / 0.5261 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.01558/11.75, allocations: 2.719 MB / 4.028 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/11.75, allocations: 11.66 kB / 4.028 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005066/11.75, allocations: 0.6007 MB / 4.028 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/11.76, allocations: 1.071 MB / 4.029 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/11.76, allocations: 44.94 kB / 4.029 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/11.76, allocations: 62.19 kB / 4.029 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002892/11.76, allocations: 1.749 MB / 4.031 GB, free: 43.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/11.76, allocations: 1.559 MB / 4.033 GB, free: 43.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/11.76, allocations: 1.594 kB / 4.033 GB, free: 43.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/11.76, allocations: 3.75 kB / 4.033 GB, free: 43.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/11.76, allocations: 86.08 kB / 4.033 GB, free: 43.35 MB / 0.5261 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.3241/12.09, allocations: 167.3 MB / 4.196 GB, free: 18.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/12.09, allocations: 1.119 MB / 4.197 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000734/12.09, allocations: 0.5765 MB / 4.198 GB, free: 18.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4774/12.57, allocations: 16.89 MB / 4.214 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/12.57, allocations: 46.03 kB / 4.214 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001528/12.57, allocations: 175.2 kB / 4.214 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=91): time 4.097e-06/12.57, allocations: 0 / 4.214 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=91): time 0.008884/12.58, allocations: 2.396 MB / 4.217 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/12.58, allocations: 217.7 kB / 4.217 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/12.58, allocations: 0.7408 MB / 4.218 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/12.58, allocations: 31.02 kB / 4.218 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/12.58, allocations: 0.6208 MB / 4.218 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/12.58, allocations: 309 kB / 4.219 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.933e-05/12.58, allocations: 1.094 kB / 4.219 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001013/12.58, allocations: 365.1 kB / 4.219 GB, free: 119 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008186/12.58, allocations: 0.5311 MB / 4.22 GB, free: 119 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/12.58, allocations: 0.8814 MB / 4.22 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005481/12.59, allocations: 1.193 MB / 4.222 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/12.59, allocations: 6.328 kB / 4.222 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007909/12.6, allocations: 2.303 MB / 4.224 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007367/12.6, allocations: 3.75 MB / 4.228 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/12.6, allocations: 9.5 kB / 4.228 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006012/12.6, allocations: 1.05 MB / 4.229 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/12.6, allocations: 279 kB / 4.229 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005264/12.61, allocations: 1.77 MB / 4.231 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/12.61, allocations: 186.6 kB / 4.231 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/12.61, allocations: 68.89 kB / 4.231 GB, free: 114 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/12.61, allocations: 4.188 kB / 4.231 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006678/12.62, allocations: 1.768 MB / 4.233 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/12.62, allocations: 9.562 kB / 4.233 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008432/12.62, allocations: 190.7 kB / 4.233 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/12.62, allocations: 347.8 kB / 4.233 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007947/12.62, allocations: 0.757 MB / 4.234 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/12.62, allocations: 145.5 kB / 4.234 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/12.62, allocations: 72.45 kB / 4.234 GB, free: 113.4 MB / 0.6042 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.000487/12.62, allocations: 152 kB / 4.234 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007362/12.63, allocations: 1.845 MB / 4.236 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/12.63, allocations: 114 kB / 4.236 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008622/12.64, allocations: 3.873 MB / 4.24 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.522e-05/12.64, allocations: 33.88 kB / 4.24 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/12.64, allocations: 0 / 4.24 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/12.64, allocations: 3.609 kB / 4.24 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/12.65, allocations: 5.317 MB / 4.245 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/12.65, allocations: 3.531 kB / 4.245 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/12.65, allocations: 111.3 kB / 4.245 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004929/12.66, allocations: 2.504 MB / 4.248 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/12.66, allocations: 6.812 kB / 4.248 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005235/12.66, allocations: 2.89 MB / 4.25 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/12.66, allocations: 0 / 4.25 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007732/12.67, allocations: 3.092 MB / 4.253 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/12.67, allocations: 462.4 kB / 4.254 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006102/12.67, allocations: 3.906 kB / 4.254 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/12.67, allocations: 104.7 kB / 4.254 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/12.67, allocations: 67.94 kB / 4.254 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/12.67, allocations: 31.86 kB / 4.254 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001553/12.68, allocations: 0.8345 MB / 4.255 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.71e-07/12.68, allocations: 0 / 4.255 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.009957/12.69, allocations: 1.87 MB / 4.257 GB, free: 111 MB / 0.6042 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.02048/12.71, allocations: 5.511 MB / 4.262 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006586/12.71, allocations: 2.323 MB / 4.264 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/12.71, allocations: 3.812 kB / 4.264 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/12.72, allocations: 0.9037 MB / 4.265 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/12.72, allocations: 0.4899 MB / 4.266 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/12.73, allocations: 3.108 MB / 4.269 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/12.73, allocations: 1.392 MB / 4.27 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003925/12.74, allocations: 1.768 MB / 4.272 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008422/12.74, allocations: 0.5858 MB / 4.272 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.324e-06/12.74, allocations: 0 / 4.272 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1641/12.9, allocations: 70.24 MB / 4.341 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/12.9, allocations: 207 kB / 4.341 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.782/17.68, allocations: 5.172 kB / 4.341 GB, free: 104.9 MB / 0.6042 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat