Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001555/0.001555, allocations: 181.1 kB / 13.66 MB, free: 1.664 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.074/2.074, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001116/0.001116, allocations: 86.66 kB / 267.5 MB, free: 14.12 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.2945/0.2945, allocations: 43.48 MB / 359.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.222e-05/4.233e-05, allocations: 7.984 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 58.85 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.475/8.606, allocations: 2.818 GB / 3.291 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/8.607, allocations: 82.45 kB / 3.291 GB, free: 27.38 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 4.045/12.65, allocations: 0.7481 GB / 4.039 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.236e-06/12.65, allocations: 0 / 4.039 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.00015/12.65, allocations: 40.17 kB / 4.039 GB, free: 47.44 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.0155/12.67, allocations: 2.718 MB / 4.042 GB, free: 46.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/12.67, allocations: 10.25 kB / 4.042 GB, free: 46.08 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000659/12.67, allocations: 173.4 kB / 4.042 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006676/12.68, allocations: 0.5941 MB / 4.043 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003837/12.68, allocations: 1.074 MB / 4.044 GB, free: 45.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/12.68, allocations: 98.23 kB / 4.044 GB, free: 45.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/12.68, allocations: 108.9 kB / 4.044 GB, free: 45.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00764/12.69, allocations: 2.244 MB / 4.046 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/12.69, allocations: 5.469 kB / 4.046 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002896/12.69, allocations: 56.03 kB / 4.046 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/12.69, allocations: 82.64 kB / 4.046 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007957/12.7, allocations: 2.27 MB / 4.048 GB, free: 45.26 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.02058/12.72, allocations: 9.195 MB / 4.057 GB, free: 40.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00638/12.72, allocations: 1.747 MB / 4.059 GB, free: 40.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/12.72, allocations: 0.6816 MB / 4.06 GB, free: 40.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07516/12.8, allocations: 24.52 MB / 4.084 GB, free: 24.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/12.8, allocations: 45.47 kB / 4.084 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001907/12.8, allocations: 218.7 kB / 4.084 GB, free: 24.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 5.32e-06/12.8, allocations: 0 / 4.084 GB, free: 24.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.01323/12.82, allocations: 2.594 MB / 4.087 GB, free: 24.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.476e-05/12.82, allocations: 230 kB / 4.087 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/12.82, allocations: 0.8252 MB / 4.088 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003942/12.82, allocations: 44.8 kB / 4.088 GB, free: 24.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/12.82, allocations: 0.5533 MB / 4.088 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004938/12.82, allocations: 376.1 kB / 4.088 GB, free: 23.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/12.82, allocations: 26.25 kB / 4.089 GB, free: 23.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001095/12.82, allocations: 359.4 kB / 4.089 GB, free: 23.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/12.82, allocations: 0.5464 MB / 4.089 GB, free: 23.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/12.82, allocations: 0.917 MB / 4.09 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/12.82, allocations: 0.6696 MB / 4.091 GB, free: 22.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/12.82, allocations: 3.688 kB / 4.091 GB, free: 22.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005021/12.83, allocations: 1.788 MB / 4.093 GB, free: 21.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008571/12.83, allocations: 3.748 MB / 4.096 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/12.83, allocations: 7.906 kB / 4.096 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05242/12.88, allocations: 2.982 MB / 4.099 GB, free: 17.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/12.88, allocations: 279.6 kB / 4.1 GB, free: 17.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/12.89, allocations: 1.386 MB / 4.101 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/12.89, allocations: 144.2 kB / 4.101 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/12.89, allocations: 76.05 kB / 4.101 GB, free: 16.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/12.89, allocations: 6.953 kB / 4.101 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005631/12.9, allocations: 1.59 MB / 4.103 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/12.9, allocations: 10.31 kB / 4.103 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/12.9, allocations: 192.6 kB / 4.103 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/12.9, allocations: 347.6 kB / 4.103 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/12.9, allocations: 0.736 MB / 4.104 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/12.91, allocations: 145.9 kB / 4.104 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/12.91, allocations: 70.97 kB / 4.104 GB, free: 15.21 MB / 0.5261 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.000588/12.91, allocations: 194.1 kB / 4.104 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/12.91, allocations: 129.6 kB / 4.104 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/12.92, allocations: 5.487 MB / 4.11 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.917e-05/12.92, allocations: 63.86 kB / 4.11 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/12.92, allocations: 3.938 kB / 4.11 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/12.92, allocations: 3.938 kB / 4.11 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/12.93, allocations: 7.522 MB / 4.117 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/12.93, allocations: 7.125 kB / 4.117 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/12.93, allocations: 207.4 kB / 4.117 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04592/12.98, allocations: 4.285 MB / 4.122 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003551/12.98, allocations: 35.8 kB / 4.122 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004153/12.98, allocations: 2.346 MB / 4.124 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/12.98, allocations: 0 / 4.124 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008276/12.99, allocations: 3.501 MB / 4.127 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/12.99, allocations: 0.6462 MB / 4.128 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004376/13, allocations: 27.95 kB / 4.128 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002159/13, allocations: 134.5 kB / 4.128 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003515/13, allocations: 99.03 kB / 4.128 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/13, allocations: 41.92 kB / 4.128 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002454/13, allocations: 1.044 MB / 4.129 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.61e-07/13, allocations: 0 / 4.129 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01059/13.01, allocations: 1.95 MB / 4.131 GB, free: 9.266 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.02169/13.03, allocations: 5.771 MB / 4.137 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01006/13.04, allocations: 2.724 MB / 4.139 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/13.04, allocations: 0.75 kB / 4.139 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004142/13.05, allocations: 1.388 MB / 4.141 GB, free: 432 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4419/13.49, allocations: 0.6821 MB / 4.141 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/13.5, allocations: 4.269 MB / 4.146 GB, free: 60.26 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/13.51, allocations: 1.619 MB / 4.147 GB, free: 59.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/13.51, allocations: 0.8191 MB / 4.148 GB, free: 59.52 MB / 0.5417 GB Notification: Performance of SimCode: time 1.513e-06/13.51, allocations: 0 / 4.148 GB, free: 59.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.351/17.86, allocations: 66.25 MB / 4.213 GB, free: 56.22 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat