Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",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.001132/0.001132, allocations: 177.6 kB / 8.003 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001214/0.001214, allocations: 82.66 kB / 261.7 MB, free: 1.688 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.2489/0.2489, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.566e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1545, allocations: 58.87 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.99/7.144, allocations: 2.782 GB / 3.248 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/7.145, allocations: 83.64 kB / 3.248 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.462/9.606, allocations: 0.7558 GB / 4.004 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/9.606, allocations: 0 / 4.004 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001201/9.607, allocations: 35.91 kB / 4.004 GB, free: 3.113 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01093/9.618, allocations: 2.704 MB / 4.007 GB, free: 376 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/9.618, allocations: 8.031 kB / 4.007 GB, free: 368 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3737/9.991, allocations: 0.6389 MB / 4.008 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/9.994, allocations: 0.9834 MB / 4.009 GB, free: 47.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.75e-05/9.994, allocations: 46.88 kB / 4.009 GB, free: 47.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/9.994, allocations: 64.19 kB / 4.009 GB, free: 47.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001899/9.996, allocations: 1.091 MB / 4.01 GB, free: 47.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/9.998, allocations: 1.322 MB / 4.011 GB, free: 46.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/9.998, allocations: 6.531 kB / 4.011 GB, free: 46.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/9.998, allocations: 4.406 kB / 4.011 GB, free: 46.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.284e-05/9.999, allocations: 43.02 kB / 4.011 GB, free: 46.81 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.1572/10.16, allocations: 88.41 MB / 4.097 GB, free: 23.79 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/10.16, allocations: 0.8129 MB / 4.098 GB, free: 23.75 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005827/10.16, allocations: 405.9 kB / 4.099 GB, free: 23.74 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04538/10.2, allocations: 24.33 MB / 4.122 GB, free: 24.11 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.398e-05/10.2, allocations: 44.06 kB / 4.122 GB, free: 24.06 MB / 0.573 GB Notification: Performance of pre-optimization done (n=86): time 3.146e-06/10.2, allocations: 0 / 4.122 GB, free: 24.06 MB / 0.573 GB Notification: Performance of matching and sorting (n=86): time 0.005507/10.21, allocations: 1.69 MB / 4.124 GB, free: 23.93 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/10.21, allocations: 166.3 kB / 4.124 GB, free: 23.74 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009812/10.21, allocations: 0.6963 MB / 4.125 GB, free: 23.59 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/10.21, allocations: 29.45 kB / 4.125 GB, free: 23.55 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/10.21, allocations: 0.6104 MB / 4.126 GB, free: 23.32 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/10.21, allocations: 286.7 kB / 4.126 GB, free: 23.17 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/10.21, allocations: 0 / 4.126 GB, free: 23.17 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001554/10.21, allocations: 351 kB / 4.126 GB, free: 22.87 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/10.21, allocations: 332 kB / 4.126 GB, free: 22.87 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/10.21, allocations: 0.6524 MB / 4.127 GB, free: 22.48 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/10.21, allocations: 0.5807 MB / 4.128 GB, free: 22.46 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/10.21, allocations: 3.438 kB / 4.128 GB, free: 22.46 MB / 0.573 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003827/10.22, allocations: 1.391 MB / 4.129 GB, free: 22.33 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001662/10.22, allocations: 3.753 MB / 4.133 GB, free: 18.39 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/10.22, allocations: 11.06 kB / 4.133 GB, free: 18.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/10.22, allocations: 323 kB / 4.133 GB, free: 18.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/10.22, allocations: 290.8 kB / 4.133 GB, free: 18.37 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/10.22, allocations: 1.619 MB / 4.135 GB, free: 17.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/10.23, allocations: 243.4 kB / 4.135 GB, free: 17.28 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/10.23, allocations: 65.19 kB / 4.135 GB, free: 17.28 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/10.23, allocations: 7.219 kB / 4.135 GB, free: 17.28 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002627/10.23, allocations: 1.026 MB / 4.136 GB, free: 17.26 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/10.23, allocations: 7.688 kB / 4.136 GB, free: 17.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/10.23, allocations: 22.83 kB / 4.136 GB, free: 17.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/10.23, allocations: 456.4 kB / 4.137 GB, free: 17.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/10.23, allocations: 22.3 kB / 4.137 GB, free: 17.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/10.23, allocations: 209.7 kB / 4.137 GB, free: 17.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/10.23, allocations: 68.81 kB / 4.137 GB, free: 17.21 MB / 0.573 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 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.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 () * 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.0004092/10.23, allocations: 136.4 kB / 4.137 GB, free: 17.11 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003015/10.24, allocations: 1.046 MB / 4.138 GB, free: 16.98 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/10.24, allocations: 120.3 kB / 4.138 GB, free: 16.92 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005606/10.24, allocations: 4.685 MB / 4.143 GB, free: 16.44 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.689e-05/10.24, allocations: 66.39 kB / 4.143 GB, free: 16.44 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/10.24, allocations: 0 / 4.143 GB, free: 16.44 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/10.24, allocations: 11.5 kB / 4.143 GB, free: 16.43 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00795/10.25, allocations: 6.411 MB / 4.149 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/10.25, allocations: 5.688 kB / 4.149 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/10.25, allocations: 182.1 kB / 4.149 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/10.25, allocations: 1.723 MB / 4.151 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.974e-05/10.25, allocations: 12.52 kB / 4.151 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003079/10.26, allocations: 2.973 MB / 4.154 GB, free: 14.59 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/10.26, allocations: 0 / 4.154 GB, free: 14.59 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/10.26, allocations: 3.21 MB / 4.157 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008429/10.26, allocations: 471.1 kB / 4.157 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/10.26, allocations: 3.031 kB / 4.157 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/10.26, allocations: 158.1 kB / 4.158 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/10.26, allocations: 88.06 kB / 4.158 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/10.26, allocations: 42.89 kB / 4.158 GB, free: 13.91 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008218/10.26, allocations: 0.65 MB / 4.158 GB, free: 13.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.9e-07/10.26, allocations: 0 / 4.158 GB, free: 13.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007065/10.27, allocations: 1.791 MB / 4.16 GB, free: 13.66 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.01364/10.28, allocations: 5.448 MB / 4.165 GB, free: 12.48 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003824/10.29, allocations: 1.998 MB / 4.167 GB, free: 12.43 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/10.29, allocations: 4.062 kB / 4.167 GB, free: 12.43 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/10.29, allocations: 1.195 MB / 4.169 GB, free: 12.41 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/10.29, allocations: 0.4941 MB / 4.169 GB, free: 12.38 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009801/10.3, allocations: 3.646 MB / 4.173 GB, free: 11.57 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/10.3, allocations: 1.529 MB / 4.174 GB, free: 26.81 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002526/10.31, allocations: 1.552 MB / 4.176 GB, free: 26.75 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007276/10.31, allocations: 0.7291 MB / 4.176 GB, free: 26.73 MB / 0.5886 GB Notification: Performance of SimCode: time 1.202e-06/10.31, allocations: 2.625 kB / 4.176 GB, free: 26.73 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5066/10.81, allocations: 70.92 MB / 4.246 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/10.81, allocations: 188.5 kB / 4.246 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.199/16.01, allocations: 0 / 4.246 GB, free: 105.5 MB / 0.5886 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat