Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",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.001831/0.001831, allocations: 183.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 106.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2941/0.2941, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004516, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1703, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.998/7.168, allocations: 2.818 GB / 3.297 GB, free: 85.51 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/7.168, allocations: 83.97 kB / 3.297 GB, free: 85.46 MB / 0.5105 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.254/10.42, allocations: 0.7502 GB / 4.047 GB, free: 42.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.964e-06/10.42, allocations: 2.625 kB / 4.047 GB, free: 42.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002419/10.42, allocations: 33.11 kB / 4.047 GB, free: 42.52 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.01727/10.44, allocations: 2.874 MB / 4.05 GB, free: 41.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 9.286e-05/10.44, allocations: 16.95 kB / 4.05 GB, free: 41.14 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001672/10.44, allocations: 178.2 kB / 4.05 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005883/10.45, allocations: 0.5948 MB / 4.051 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004252/10.45, allocations: 1.072 MB / 4.052 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/10.45, allocations: 94.83 kB / 4.052 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006947/10.45, allocations: 111 kB / 4.052 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007826/10.46, allocations: 2.281 MB / 4.054 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.552e-05/10.46, allocations: 8.438 kB / 4.054 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005811/10.46, allocations: 49.88 kB / 4.054 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/10.46, allocations: 85.73 kB / 4.055 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006558/10.47, allocations: 2.39 MB / 4.057 GB, free: 40.32 MB / 0.5261 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.01622/10.48, allocations: 9.213 MB / 4.066 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005291/10.49, allocations: 1.897 MB / 4.068 GB, free: 35.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04506/10.54, allocations: 24.44 MB / 4.092 GB, free: 20.24 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.794e-05/10.54, allocations: 50.19 kB / 4.092 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002387/10.54, allocations: 210.2 kB / 4.092 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 1.862e-05/10.54, allocations: 3.656 kB / 4.092 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.02079/10.56, allocations: 4.453 MB / 4.096 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/10.56, allocations: 220.9 kB / 4.096 GB, free: 19.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/10.56, allocations: 0.8359 MB / 4.097 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003369/10.56, allocations: 46.58 kB / 4.097 GB, free: 19.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/10.56, allocations: 0.5571 MB / 4.098 GB, free: 19.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005834/10.56, allocations: 376.4 kB / 4.098 GB, free: 18.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/10.56, allocations: 28.97 kB / 4.098 GB, free: 18.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000153/10.56, allocations: 361.3 kB / 4.099 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/10.56, allocations: 0.6468 MB / 4.099 GB, free: 18.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/10.57, allocations: 1.016 MB / 4.1 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/10.57, allocations: 0.7594 MB / 4.101 GB, free: 18.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/10.57, allocations: 7.969 kB / 4.101 GB, free: 18.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00446/10.57, allocations: 2.067 MB / 4.103 GB, free: 18.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002312/10.57, allocations: 3.757 MB / 4.107 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/10.57, allocations: 7.594 kB / 4.107 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0294/10.6, allocations: 3.03 MB / 4.11 GB, free: 29.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/10.61, allocations: 275.6 kB / 4.11 GB, free: 29.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/10.61, allocations: 1.437 MB / 4.111 GB, free: 29.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/10.61, allocations: 146.2 kB / 4.111 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003848/10.61, allocations: 68.53 kB / 4.111 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/10.61, allocations: 6.594 kB / 4.111 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004948/10.62, allocations: 1.794 MB / 4.113 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/10.62, allocations: 11.22 kB / 4.113 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008796/10.62, allocations: 200.1 kB / 4.113 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/10.62, allocations: 343.6 kB / 4.114 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009826/10.62, allocations: 0.7406 MB / 4.114 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/10.62, allocations: 142.2 kB / 4.115 GB, free: 28.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/10.62, allocations: 71.25 kB / 4.115 GB, free: 28.77 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 () * 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.001338/10.62, allocations: 437.5 kB / 4.115 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005962/10.62, allocations: 130.7 kB / 4.115 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009372/10.63, allocations: 5.66 MB / 4.121 GB, free: 27.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-05/10.63, allocations: 60.94 kB / 4.121 GB, free: 27.88 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/10.63, allocations: 0 / 4.121 GB, free: 27.88 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/10.63, allocations: 9.859 kB / 4.121 GB, free: 27.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/10.65, allocations: 7.706 MB / 4.128 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/10.65, allocations: 1.875 kB / 4.128 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008697/10.65, allocations: 203.5 kB / 4.129 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02556/10.67, allocations: 4.012 MB / 4.132 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004441/10.67, allocations: 28.94 kB / 4.132 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003657/10.68, allocations: 2.386 MB / 4.135 GB, free: 26.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/10.68, allocations: 0 / 4.135 GB, free: 26.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006574/10.68, allocations: 3.685 MB / 4.138 GB, free: 25.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/10.68, allocations: 0.6445 MB / 4.139 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005865/10.69, allocations: 24.81 kB / 4.139 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/10.69, allocations: 133.6 kB / 4.139 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/10.69, allocations: 97.5 kB / 4.139 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/10.69, allocations: 43.08 kB / 4.139 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001945/10.69, allocations: 1.059 MB / 4.14 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/10.69, allocations: 0 / 4.14 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01195/10.7, allocations: 1.956 MB / 4.142 GB, free: 25.27 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 () * 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.01855/10.72, allocations: 5.977 MB / 4.148 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008157/10.73, allocations: 3.023 MB / 4.151 GB, free: 23.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/10.73, allocations: 4.125 kB / 4.151 GB, free: 23.63 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003028/10.73, allocations: 1.486 MB / 4.152 GB, free: 23.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004123/10.74, allocations: 0.6733 MB / 4.153 GB, free: 23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02315/10.76, allocations: 13.37 MB / 4.166 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001929/10.76, allocations: 1.628 MB / 4.168 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003329/10.76, allocations: 1.463 MB / 4.169 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/10.77, allocations: 0.8082 MB / 4.17 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of SimCode: time 1.583e-06/10.77, allocations: 0 / 4.17 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5532/11.32, allocations: 88.02 MB / 4.256 GB, free: 64.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/11.32, allocations: 271.5 kB / 4.256 GB, free: 64.03 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.562/16.88, allocations: 2.625 kB / 4.256 GB, free: 64.03 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat