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.001604/0.001604, allocations: 183.6 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009417/0.0009416, allocations: 81.09 kB / 267 MB, free: 9.273 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.5076/0.5076, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.381e-05/4.406e-05, allocations: 0 / 425.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1472, allocations: 58.85 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.617/8.764, allocations: 2.818 GB / 3.291 GB, free: 69.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/8.764, allocations: 84.14 kB / 3.291 GB, free: 69.61 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.312/12.08, allocations: 0.7481 GB / 4.039 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.813e-06/12.08, allocations: 3.156 kB / 4.039 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000179/12.08, allocations: 45.5 kB / 4.039 GB, free: 44.54 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.01323/12.09, allocations: 2.717 MB / 4.042 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/12.09, allocations: 9.906 kB / 4.042 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008803/12.09, allocations: 171.9 kB / 4.042 GB, free: 43.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/12.1, allocations: 0.6062 MB / 4.043 GB, free: 43.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003443/12.1, allocations: 1.064 MB / 4.044 GB, free: 42.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/12.1, allocations: 95.05 kB / 4.044 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005214/12.1, allocations: 108.9 kB / 4.044 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006064/12.11, allocations: 2.254 MB / 4.046 GB, free: 42.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.286e-05/12.11, allocations: 11.23 kB / 4.046 GB, free: 42.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/12.11, allocations: 54.06 kB / 4.046 GB, free: 42.42 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/12.11, allocations: 81.73 kB / 4.046 GB, free: 42.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005003/12.11, allocations: 2.27 MB / 4.048 GB, free: 42.4 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.014/12.13, allocations: 9.19 MB / 4.057 GB, free: 37.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004043/12.13, allocations: 1.756 MB / 4.059 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/12.13, allocations: 0.6857 MB / 4.06 GB, free: 37.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0478/12.18, allocations: 24.52 MB / 4.084 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.43e-05/12.18, allocations: 42.48 kB / 4.084 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002191/12.18, allocations: 217.8 kB / 4.084 GB, free: 22.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 1.305e-05/12.18, allocations: 0 / 4.084 GB, free: 22.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.009107/12.19, allocations: 2.6 MB / 4.087 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/12.19, allocations: 217.8 kB / 4.087 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/12.19, allocations: 0.8239 MB / 4.088 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001972/12.19, allocations: 45.39 kB / 4.088 GB, free: 21.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004459/12.19, allocations: 0.561 MB / 4.088 GB, free: 21.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/12.19, allocations: 378.2 kB / 4.089 GB, free: 20.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/12.19, allocations: 26.75 kB / 4.089 GB, free: 20.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001186/12.19, allocations: 351.1 kB / 4.089 GB, free: 20.63 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009582/12.19, allocations: 0.5511 MB / 4.089 GB, free: 20.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/12.2, allocations: 0.9135 MB / 4.09 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/12.2, allocations: 0.6669 MB / 4.091 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/12.2, allocations: 7.594 kB / 4.091 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00334/12.2, allocations: 1.856 MB / 4.093 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002557/12.2, allocations: 3.754 MB / 4.096 GB, free: 32.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/12.2, allocations: 11 kB / 4.096 GB, free: 32.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02625/12.23, allocations: 2.986 MB / 4.099 GB, free: 31.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/12.23, allocations: 279.4 kB / 4.1 GB, free: 31.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/12.23, allocations: 1.392 MB / 4.101 GB, free: 31.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/12.24, allocations: 138.7 kB / 4.101 GB, free: 31.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/12.24, allocations: 76.16 kB / 4.101 GB, free: 31.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/12.24, allocations: 6.625 kB / 4.101 GB, free: 31.43 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003712/12.24, allocations: 1.583 MB / 4.103 GB, free: 31.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/12.24, allocations: 9.469 kB / 4.103 GB, free: 31.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007787/12.24, allocations: 200.2 kB / 4.103 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/12.24, allocations: 342.4 kB / 4.103 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009143/12.24, allocations: 0.7454 MB / 4.104 GB, free: 30.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/12.24, allocations: 144 kB / 4.104 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/12.24, allocations: 70.62 kB / 4.104 GB, free: 30.83 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.0004996/12.25, allocations: 191 kB / 4.104 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/12.25, allocations: 128.8 kB / 4.105 GB, free: 30.65 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007505/12.25, allocations: 5.49 MB / 4.11 GB, free: 30.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.757e-05/12.25, allocations: 61.33 kB / 4.11 GB, free: 30.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/12.25, allocations: 4 kB / 4.11 GB, free: 30.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/12.25, allocations: 6.328 kB / 4.11 GB, free: 30.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/12.26, allocations: 7.534 MB / 4.117 GB, free: 27.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/12.26, allocations: 3.812 kB / 4.117 GB, free: 27.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009158/12.27, allocations: 206.1 kB / 4.117 GB, free: 27.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02428/12.29, allocations: 4.281 MB / 4.122 GB, free: 27.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000442/12.29, allocations: 31.73 kB / 4.122 GB, free: 27.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0037/12.29, allocations: 2.344 MB / 4.124 GB, free: 25.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/12.29, allocations: 4 kB / 4.124 GB, free: 25.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00602/12.3, allocations: 3.507 MB / 4.127 GB, free: 24.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/12.3, allocations: 0.6474 MB / 4.128 GB, free: 23.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005672/12.3, allocations: 27.89 kB / 4.128 GB, free: 23.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/12.3, allocations: 125.5 kB / 4.128 GB, free: 23.81 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/12.3, allocations: 97.78 kB / 4.128 GB, free: 23.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/12.3, allocations: 49.2 kB / 4.128 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001952/12.31, allocations: 1.035 MB / 4.129 GB, free: 23.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.3e-07/12.31, allocations: 0 / 4.129 GB, free: 23.38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009193/12.32, allocations: 1.959 MB / 4.131 GB, free: 21.63 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.01669/12.33, allocations: 5.766 MB / 4.137 GB, free: 16.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006679/12.34, allocations: 2.754 MB / 4.14 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/12.34, allocations: 0 / 4.14 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002573/12.34, allocations: 1.389 MB / 4.141 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004533/12.35, allocations: 0.6924 MB / 4.142 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/12.36, allocations: 4.222 MB / 4.146 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001878/12.36, allocations: 1.628 MB / 4.147 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003789/12.37, allocations: 1.531 MB / 4.149 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/12.37, allocations: 0.7853 MB / 4.15 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of SimCode: time 1.233e-06/12.37, allocations: 0 / 4.15 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5893/12.96, allocations: 94.56 MB / 4.242 GB, free: 51.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/12.96, allocations: 254.9 kB / 4.242 GB, free: 50.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.631/18.59, allocations: 0 / 4.242 GB, free: 50.7 MB / 0.5417 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