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.001552/0.001552, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.064/2.064, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001288/0.001287, allocations: 91.19 kB / 270.9 MB, free: 8.375 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.5511/0.5511, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007169/0.0007166, allocations: 16 kB / 431.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1653, allocations: 58.83 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.812/8.977, allocations: 2.818 GB / 3.297 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/8.978, allocations: 84.69 kB / 3.297 GB, free: 7.613 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.999/12.98, allocations: 0.7503 GB / 4.047 GB, free: 42.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.615e-06/12.98, allocations: 0 / 4.047 GB, free: 42.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001289/12.98, allocations: 41.97 kB / 4.047 GB, free: 42.71 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.01602/12.99, allocations: 2.865 MB / 4.05 GB, free: 41.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/12.99, allocations: 15.39 kB / 4.05 GB, free: 41.23 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006328/12.99, allocations: 175.2 kB / 4.05 GB, free: 41.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006432/13, allocations: 0.6001 MB / 4.051 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/13, allocations: 1.07 MB / 4.052 GB, free: 40.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/13, allocations: 93.98 kB / 4.052 GB, free: 40.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/13, allocations: 109.2 kB / 4.052 GB, free: 40.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007769/13.01, allocations: 2.275 MB / 4.054 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/13.01, allocations: 7.781 kB / 4.054 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/13.01, allocations: 50.62 kB / 4.054 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/13.01, allocations: 91.69 kB / 4.055 GB, free: 40.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008793/13.02, allocations: 2.389 MB / 4.057 GB, free: 40.33 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.01876/13.04, allocations: 9.201 MB / 4.066 GB, free: 34.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007857/13.05, allocations: 1.905 MB / 4.068 GB, free: 33.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07602/13.12, allocations: 24.43 MB / 4.092 GB, free: 17.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/13.12, allocations: 50.69 kB / 4.092 GB, free: 17.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001983/13.13, allocations: 213.3 kB / 4.092 GB, free: 17.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 4.569e-06/13.13, allocations: 0 / 4.092 GB, free: 17.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.03223/13.16, allocations: 4.449 MB / 4.096 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/13.16, allocations: 216.7 kB / 4.096 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/13.16, allocations: 0.8389 MB / 4.097 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000411/13.16, allocations: 45.67 kB / 4.097 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/13.16, allocations: 0.5515 MB / 4.098 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004704/13.16, allocations: 377.5 kB / 4.098 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/13.16, allocations: 27.84 kB / 4.098 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001121/13.16, allocations: 364.2 kB / 4.099 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/13.16, allocations: 0.6495 MB / 4.099 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/13.17, allocations: 1.01 MB / 4.1 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002626/13.17, allocations: 0.7656 MB / 4.101 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/13.17, allocations: 3.75 kB / 4.101 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00672/13.18, allocations: 2.003 MB / 4.103 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001493/13.18, allocations: 3.756 MB / 4.106 GB, free: 24.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/13.18, allocations: 10.16 kB / 4.107 GB, free: 24.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05439/13.23, allocations: 3.034 MB / 4.109 GB, free: 22.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/13.23, allocations: 272.1 kB / 4.11 GB, free: 22.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/13.24, allocations: 1.446 MB / 4.111 GB, free: 21.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/13.24, allocations: 143 kB / 4.111 GB, free: 21.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003085/13.24, allocations: 74.59 kB / 4.111 GB, free: 21.13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/13.24, allocations: 4 kB / 4.111 GB, free: 21.12 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007652/13.25, allocations: 1.791 MB / 4.113 GB, free: 19.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/13.25, allocations: 8 kB / 4.113 GB, free: 19.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/13.25, allocations: 199.4 kB / 4.113 GB, free: 19.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003066/13.25, allocations: 354.5 kB / 4.114 GB, free: 19.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/13.26, allocations: 0.7376 MB / 4.114 GB, free: 18.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/13.26, allocations: 139.1 kB / 4.114 GB, free: 18.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/13.26, allocations: 67.69 kB / 4.115 GB, free: 18.25 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.001203/13.26, allocations: 441 kB / 4.115 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/13.26, allocations: 134.5 kB / 4.115 GB, free: 17.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/13.27, allocations: 5.657 MB / 4.121 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.104e-05/13.27, allocations: 58.69 kB / 4.121 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/13.27, allocations: 6.75 kB / 4.121 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.67e-05/13.27, allocations: 9.391 kB / 4.121 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02009/13.29, allocations: 7.71 MB / 4.128 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/13.29, allocations: 0 / 4.128 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/13.3, allocations: 209.1 kB / 4.128 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04878/13.34, allocations: 3.999 MB / 4.132 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003763/13.35, allocations: 39.44 kB / 4.132 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00606/13.35, allocations: 2.384 MB / 4.135 GB, free: 476 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/13.35, allocations: 3.938 kB / 4.135 GB, free: 472 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4443/13.8, allocations: 3.773 MB / 4.138 GB, free: 58.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/13.8, allocations: 0.6431 MB / 4.139 GB, free: 57.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005607/13.8, allocations: 25.27 kB / 4.139 GB, free: 57.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002499/13.8, allocations: 130 kB / 4.139 GB, free: 57.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004376/13.8, allocations: 98.11 kB / 4.139 GB, free: 57.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/13.8, allocations: 44.17 kB / 4.139 GB, free: 57.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002713/13.8, allocations: 1.062 MB / 4.14 GB, free: 57.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.243e-06/13.8, allocations: 0 / 4.14 GB, free: 57.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.011/13.82, allocations: 1.949 MB / 4.142 GB, free: 57.8 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.02257/13.84, allocations: 5.983 MB / 4.148 GB, free: 56.67 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01172/13.85, allocations: 3.023 MB / 4.151 GB, free: 56.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/13.85, allocations: 2.562 kB / 4.151 GB, free: 56.62 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004422/13.85, allocations: 1.475 MB / 4.152 GB, free: 56.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00643/13.86, allocations: 0.6755 MB / 4.153 GB, free: 56.58 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/13.88, allocations: 13.43 MB / 4.166 GB, free: 47.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/13.88, allocations: 1.616 MB / 4.168 GB, free: 46.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001729/13.88, allocations: 0.8121 MB / 4.169 GB, free: 46.38 MB / 0.5417 GB Notification: Performance of SimCode: time 2.184e-06/13.88, allocations: 3.219 kB / 4.169 GB, free: 46.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.295/18.18, allocations: 64.14 MB / 4.231 GB, free: 42.66 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