Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",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.00108/0.00108, allocations: 175.4 kB / 8.004 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 1.978/1.978, allocations: 205.3 MB / 213.7 MB, free: 1.758 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.001108/0.001108, allocations: 94.14 kB / 261.8 MB, free: 1.695 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.2599/0.2599, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.95e-05, allocations: 0 / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1463, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.324/8.471, allocations: 2.781 GB / 3.247 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/8.471, allocations: 90.58 kB / 3.247 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.386/9.857, allocations: 434.5 MB / 3.671 GB, free: 62.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/9.857, allocations: 3.75 kB / 3.671 GB, free: 62.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.758e-05/9.857, allocations: 16.28 kB / 3.671 GB, free: 62.09 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.005833/9.863, allocations: 1.762 MB / 3.673 GB, free: 61.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/9.863, allocations: 9.219 kB / 3.673 GB, free: 61.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/9.865, allocations: 322.5 kB / 3.673 GB, free: 61.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/9.867, allocations: 0.567 MB / 3.674 GB, free: 61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/9.867, allocations: 27.38 kB / 3.674 GB, free: 61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/9.867, allocations: 34.55 kB / 3.674 GB, free: 61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008009/9.867, allocations: 0.5333 MB / 3.674 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/9.868, allocations: 0.6613 MB / 3.675 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/9.868, allocations: 6.906 kB / 3.675 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/9.868, allocations: 0 / 3.675 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/9.868, allocations: 20.72 kB / 3.675 GB, free: 60.79 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.07078/9.939, allocations: 44.26 MB / 3.718 GB, free: 33.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/9.94, allocations: 346.4 kB / 3.719 GB, free: 33.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/9.94, allocations: 193.6 kB / 3.719 GB, free: 33.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0399/9.98, allocations: 24.16 MB / 3.742 GB, free: 17.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/9.98, allocations: 46.67 kB / 3.743 GB, free: 17.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/9.98, allocations: 0 / 3.743 GB, free: 17.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002552/9.983, allocations: 0.8228 MB / 3.743 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/9.983, allocations: 106.4 kB / 3.743 GB, free: 17.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/9.983, allocations: 397.2 kB / 3.744 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/9.983, allocations: 30.39 kB / 3.744 GB, free: 17.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/9.983, allocations: 356.8 kB / 3.744 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.08e-05/9.983, allocations: 132.7 kB / 3.744 GB, free: 16.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/9.984, allocations: 0 / 3.744 GB, free: 16.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/9.984, allocations: 359.3 kB / 3.745 GB, free: 16.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/9.984, allocations: 169.5 kB / 3.745 GB, free: 16.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/9.984, allocations: 330 kB / 3.745 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009836/9.985, allocations: 298.6 kB / 3.745 GB, free: 16.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/9.985, allocations: 3.188 kB / 3.745 GB, free: 16.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001603/9.987, allocations: 0.7073 MB / 3.746 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001159/9.988, allocations: 2.002 MB / 3.748 GB, free: 30.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/9.988, allocations: 11.2 kB / 3.748 GB, free: 30.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006778/9.989, allocations: 182 kB / 3.748 GB, free: 30.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/9.989, allocations: 136.8 kB / 3.748 GB, free: 30.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/9.99, allocations: 0.8187 MB / 3.749 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/9.991, allocations: 126.8 kB / 3.749 GB, free: 29.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/9.991, allocations: 32.89 kB / 3.749 GB, free: 29.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/9.991, allocations: 3.906 kB / 3.749 GB, free: 29.69 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001524/9.993, allocations: 0.601 MB / 3.75 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/9.993, allocations: 11.56 kB / 3.75 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/9.994, allocations: 168.7 kB / 3.75 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/9.994, allocations: 137.3 kB / 3.75 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000817/9.995, allocations: 0.7344 MB / 3.751 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/9.995, allocations: 101.4 kB / 3.751 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/9.996, allocations: 31.59 kB / 3.751 GB, free: 29.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.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 (55): * Single equations (assignments): 54 * 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.0001773/9.996, allocations: 120.3 kB / 3.751 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001198/9.997, allocations: 0.5039 MB / 3.752 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/9.997, allocations: 58.28 kB / 3.752 GB, free: 28.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/10, allocations: 2.458 MB / 3.754 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/10, allocations: 37.98 kB / 3.754 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/10, allocations: 10.38 kB / 3.754 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/10, allocations: 3.656 kB / 3.754 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/10, allocations: 1.127 MB / 3.755 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/10, allocations: 0 / 3.755 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/10, allocations: 73.28 kB / 3.755 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/10, allocations: 1.087 MB / 3.756 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/10, allocations: 14.98 kB / 3.756 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/10, allocations: 1.629 MB / 3.758 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/10, allocations: 0 / 3.758 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/10.01, allocations: 1.801 MB / 3.76 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003873/10.01, allocations: 280.1 kB / 3.76 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/10.01, allocations: 0 / 3.76 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/10.01, allocations: 74.06 kB / 3.76 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/10.01, allocations: 34.53 kB / 3.76 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/10.01, allocations: 24.77 kB / 3.76 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003941/10.01, allocations: 370.7 kB / 3.761 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/10.01, allocations: 4 kB / 3.761 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005901/10.01, allocations: 1.378 MB / 3.762 GB, free: 24.85 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: 20 ($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,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.01151/10.02, allocations: 3.74 MB / 3.766 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002368/10.03, allocations: 1.024 MB / 3.767 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/10.03, allocations: 0 / 3.767 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006529/10.03, allocations: 0.6094 MB / 3.767 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/10.03, allocations: 269 kB / 3.767 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/10.04, allocations: 2.041 MB / 3.769 GB, free: 18.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/10.04, allocations: 1.099 MB / 3.77 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001087/10.04, allocations: 0.7335 MB / 3.771 GB, free: 16.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/10.04, allocations: 346 kB / 3.771 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/10.04, allocations: 4 kB / 3.771 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3903/10.43, allocations: 47.31 MB / 3.818 GB, free: 90.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/10.43, allocations: 186.9 kB / 3.818 GB, free: 90.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.585/14.01, allocations: 5.859 kB / 3.818 GB, free: 90.46 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat