Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.001082/0.001082, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008257/0.0008259, allocations: 98.12 kB / 261.8 MB, free: 1.676 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.2317/0.2317, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.774e-05, allocations: 0 / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1314, allocations: 58.86 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.228/8.359, allocations: 2.781 GB / 3.247 GB, free: 90.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/8.36, allocations: 87.8 kB / 3.247 GB, free: 90.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.891/10.25, allocations: 434.7 MB / 3.671 GB, free: 44.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.853e-06/10.25, allocations: 0 / 3.671 GB, free: 44.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.234e-05/10.25, allocations: 19.53 kB / 3.671 GB, free: 44.94 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008243/10.26, allocations: 1.767 MB / 3.673 GB, free: 43.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/10.26, allocations: 8.031 kB / 3.673 GB, free: 43.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/10.26, allocations: 332.7 kB / 3.674 GB, free: 43.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/10.26, allocations: 0.5619 MB / 3.674 GB, free: 42.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/10.26, allocations: 24 kB / 3.674 GB, free: 42.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/10.26, allocations: 36 kB / 3.674 GB, free: 42.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000874/10.26, allocations: 0.5406 MB / 3.675 GB, free: 41.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009602/10.26, allocations: 0.6633 MB / 3.675 GB, free: 41.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/10.26, allocations: 4 kB / 3.675 GB, free: 41.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/10.26, allocations: 0 / 3.675 GB, free: 41.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/10.26, allocations: 25.16 kB / 3.675 GB, free: 41.3 MB / 0.4948 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.6458/10.91, allocations: 83.79 MB / 3.757 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/10.91, allocations: 355.1 kB / 3.757 GB, free: 55.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/10.91, allocations: 175.4 kB / 3.758 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03024/10.94, allocations: 16.63 MB / 3.774 GB, free: 45.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.36e-05/10.94, allocations: 36.47 kB / 3.774 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 2.465e-06/10.94, allocations: 3.844 kB / 3.774 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.003136/10.94, allocations: 0.7876 MB / 3.775 GB, free: 45.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/10.94, allocations: 109.5 kB / 3.775 GB, free: 45.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/10.95, allocations: 426.1 kB / 3.775 GB, free: 45.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/10.95, allocations: 29.64 kB / 3.775 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/10.95, allocations: 364.4 kB / 3.776 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/10.95, allocations: 118.9 kB / 3.776 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/10.95, allocations: 3.812 kB / 3.776 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001242/10.95, allocations: 368 kB / 3.776 GB, free: 44.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/10.95, allocations: 157.6 kB / 3.776 GB, free: 44.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/10.95, allocations: 335.7 kB / 3.777 GB, free: 44.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/10.95, allocations: 300.5 kB / 3.777 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/10.95, allocations: 0 / 3.777 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001626/10.95, allocations: 0.7036 MB / 3.777 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005406/10.95, allocations: 2.094 MB / 3.78 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/10.95, allocations: 7.5 kB / 3.78 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007257/10.95, allocations: 178.6 kB / 3.78 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/10.95, allocations: 147.1 kB / 3.78 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000978/10.95, allocations: 0.8174 MB / 3.781 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008902/10.95, allocations: 137.8 kB / 3.781 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/10.95, allocations: 37.86 kB / 3.781 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/10.95, allocations: 3.938 kB / 3.781 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001761/10.96, allocations: 0.6003 MB / 3.781 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/10.96, allocations: 4.438 kB / 3.781 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007787/10.96, allocations: 177.7 kB / 3.782 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/10.96, allocations: 147.2 kB / 3.782 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000574/10.96, allocations: 0.7244 MB / 3.782 GB, free: 40.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000722/10.96, allocations: 108 kB / 3.783 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/10.96, allocations: 35.73 kB / 3.783 GB, free: 40.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002077/10.96, allocations: 120.9 kB / 3.783 GB, free: 40.85 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001243/10.96, allocations: 0.4917 MB / 3.783 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/10.96, allocations: 59.41 kB / 3.783 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/10.96, allocations: 1.777 MB / 3.785 GB, free: 40.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/10.96, allocations: 18.23 kB / 3.785 GB, free: 40.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/10.96, allocations: 6.141 kB / 3.785 GB, free: 40.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/10.96, allocations: 4 kB / 3.785 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/10.96, allocations: 0.9112 MB / 3.786 GB, free: 40.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/10.96, allocations: 0 / 3.786 GB, free: 40.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/10.96, allocations: 62.45 kB / 3.786 GB, free: 40.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/10.96, allocations: 1.127 MB / 3.787 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/10.96, allocations: 3.25 kB / 3.787 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/10.97, allocations: 1.638 MB / 3.789 GB, free: 39.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/10.97, allocations: 7.25 kB / 3.789 GB, free: 39.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/10.97, allocations: 1.42 MB / 3.79 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/10.97, allocations: 271 kB / 3.79 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/10.97, allocations: 4 kB / 3.79 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005477/10.97, allocations: 72.66 kB / 3.79 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/10.97, allocations: 37.77 kB / 3.79 GB, free: 39.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/10.97, allocations: 17.91 kB / 3.79 GB, free: 39.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005665/10.97, allocations: 461 kB / 3.791 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.743e-06/10.97, allocations: 0 / 3.791 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007763/10.98, allocations: 1.404 MB / 3.792 GB, free: 39.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01274/10.99, allocations: 3.368 MB / 3.796 GB, free: 38.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001987/10.99, allocations: 0.8655 MB / 3.796 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/10.99, allocations: 0 / 3.796 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005321/10.99, allocations: 416.2 kB / 3.797 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/10.99, allocations: 245 kB / 3.797 GB, free: 38.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/11, allocations: 1.708 MB / 3.799 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/11, allocations: 1.039 MB / 3.8 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00147/11.01, allocations: 0.8067 MB / 3.8 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/11.01, allocations: 308.7 kB / 3.801 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of SimCode: time 1.783e-06/11.01, allocations: 0 / 3.801 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09577/11.1, allocations: 45.74 MB / 3.845 GB, free: 34.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/11.1, allocations: 197.1 kB / 3.846 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/14.7, allocations: 4 kB / 3.846 GB, free: 34.14 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat