Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 176.8 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 98.42 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4217/0.4217, allocations: 44.21 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004467, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.471, allocations: 61.91 MB / 0.5096 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.88/8.351, allocations: 2.789 GB / 3.298 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004075/8.352, allocations: 102.4 kB / 3.298 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.312/11.66, allocations: 0.773 GB / 4.071 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.408e-06/11.66, allocations: 0 / 4.071 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000286/11.66, allocations: 40.38 kB / 4.071 GB, free: 30.14 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01425/11.68, allocations: 2.894 MB / 4.074 GB, free: 27.21 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.893e-05/11.68, allocations: 8.031 kB / 4.074 GB, free: 27.21 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009957/11.68, allocations: 177.1 kB / 4.074 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00585/11.69, allocations: 0.6494 MB / 4.075 GB, free: 26.38 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00355/11.69, allocations: 0.9836 MB / 4.076 GB, free: 25.37 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/11.69, allocations: 90.28 kB / 4.076 GB, free: 25.28 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004919/11.69, allocations: 112 kB / 4.076 GB, free: 25.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006324/11.7, allocations: 2.017 MB / 4.078 GB, free: 23 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.292e-05/11.7, allocations: 3.938 kB / 4.078 GB, free: 23 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/11.7, allocations: 59.91 kB / 4.078 GB, free: 22.94 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.046e-05/11.7, allocations: 53.95 kB / 4.078 GB, free: 22.89 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005252/11.7, allocations: 1.877 MB / 4.08 GB, free: 21 MB / 0.5417 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.01329/11.72, allocations: 9.482 MB / 4.089 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004925/11.72, allocations: 1.653 MB / 4.091 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.582/12.3, allocations: 24.24 MB / 4.115 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/12.3, allocations: 43.92 kB / 4.115 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=94): time 4.969e-06/12.3, allocations: 1.062 kB / 4.115 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=94): time 0.01385/12.32, allocations: 3.335 MB / 4.118 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/12.32, allocations: 167.3 kB / 4.118 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/12.32, allocations: 0.7806 MB / 4.119 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001767/12.32, allocations: 42.95 kB / 4.119 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/12.32, allocations: 0.5887 MB / 4.119 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004908/12.32, allocations: 318.9 kB / 4.12 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/12.32, allocations: 19.69 kB / 4.12 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001599/12.32, allocations: 350.5 kB / 4.12 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/12.32, allocations: 0.5032 MB / 4.121 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/12.32, allocations: 0.8367 MB / 4.121 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/12.32, allocations: 0.5798 MB / 4.122 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/12.32, allocations: 3.125 kB / 4.122 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004489/12.33, allocations: 1.653 MB / 4.124 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001246/12.33, allocations: 3.747 MB / 4.127 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/12.33, allocations: 10.97 kB / 4.127 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002737/12.33, allocations: 0.5128 MB / 4.128 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/12.33, allocations: 297.8 kB / 4.128 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/12.34, allocations: 1.564 MB / 4.13 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/12.34, allocations: 238.6 kB / 4.13 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/12.34, allocations: 73.23 kB / 4.13 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/12.34, allocations: 5.656 kB / 4.13 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003087/12.34, allocations: 1.358 MB / 4.131 GB, free: 48.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/12.34, allocations: 7.344 kB / 4.131 GB, free: 48.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/12.34, allocations: 17.75 kB / 4.131 GB, free: 48.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/12.34, allocations: 452.2 kB / 4.132 GB, free: 48.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.567e-05/12.34, allocations: 22.62 kB / 4.132 GB, free: 48.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/12.35, allocations: 222.5 kB / 4.132 GB, free: 48.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/12.35, allocations: 69.67 kB / 4.132 GB, free: 48.39 MB / 0.5573 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 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.phase,valve.state_b.phase,valve.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 (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.000991/12.35, allocations: 381.4 kB / 4.132 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/12.35, allocations: 123.5 kB / 4.132 GB, free: 48.14 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00809/12.35, allocations: 5.899 MB / 4.138 GB, free: 47.66 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.453e-05/12.36, allocations: 90.52 kB / 4.138 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/12.36, allocations: 0 / 4.138 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/12.36, allocations: 8.844 kB / 4.138 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/12.37, allocations: 8.04 MB / 4.146 GB, free: 46.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/12.37, allocations: 0 / 4.146 GB, free: 46.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009003/12.37, allocations: 224.4 kB / 4.146 GB, free: 46.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004206/12.37, allocations: 1.632 MB / 4.148 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/12.37, allocations: 30.55 kB / 4.148 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00369/12.38, allocations: 2.645 MB / 4.151 GB, free: 45.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/12.38, allocations: 0 / 4.151 GB, free: 45.81 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006077/12.38, allocations: 3.793 MB / 4.154 GB, free: 45.37 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/12.38, allocations: 0.5623 MB / 4.155 GB, free: 45.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/12.38, allocations: 19.19 kB / 4.155 GB, free: 45.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/12.38, allocations: 175.5 kB / 4.155 GB, free: 45.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/12.39, allocations: 105.2 kB / 4.155 GB, free: 45.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-05/12.39, allocations: 47.06 kB / 4.155 GB, free: 45.06 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00108/12.39, allocations: 0.7957 MB / 4.156 GB, free: 44.95 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/12.39, allocations: 0 / 4.156 GB, free: 44.95 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009273/12.4, allocations: 1.893 MB / 4.158 GB, free: 44.82 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01944/12.42, allocations: 6.009 MB / 4.164 GB, free: 43.75 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008546/12.42, allocations: 2.713 MB / 4.166 GB, free: 43.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/12.42, allocations: 0 / 4.166 GB, free: 43.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/12.43, allocations: 1.596 MB / 4.168 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/12.43, allocations: 0.599 MB / 4.168 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/12.45, allocations: 13.29 MB / 4.181 GB, free: 34.24 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/12.45, allocations: 1.638 MB / 4.183 GB, free: 33.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00267/12.45, allocations: 1.373 MB / 4.184 GB, free: 33.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009736/12.45, allocations: 0.8393 MB / 4.185 GB, free: 33.48 MB / 0.5573 GB Notification: Performance of SimCode: time 1.483e-06/12.45, allocations: 0 / 4.185 GB, free: 33.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1482/12.6, allocations: 82.81 MB / 4.266 GB, free: 29.55 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/12.6, allocations: 263.4 kB / 4.266 GB, free: 29.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.4/18, allocations: 0 / 4.266 GB, free: 29.2 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat