Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",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.001269/0.001269, allocations: 172.8 kB / 8 MB, free: 1.074 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.91/1.91, 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.0009749/0.0009748, allocations: 86.16 kB / 261.8 MB, free: 1.68 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.2542/0.2542, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.083e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1391, allocations: 58.85 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.145/8.285, allocations: 2.781 GB / 3.247 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/8.285, allocations: 88.64 kB / 3.247 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.925/10.21, allocations: 434.8 MB / 3.672 GB, free: 63.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.817e-06/10.21, allocations: 0 / 3.672 GB, free: 63.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.34e-05/10.21, allocations: 16.56 kB / 3.672 GB, free: 63.06 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.009752/10.22, allocations: 1.755 MB / 3.673 GB, free: 62.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.624e-05/10.22, allocations: 10 kB / 3.673 GB, free: 62.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/10.22, allocations: 330.3 kB / 3.674 GB, free: 62.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/10.23, allocations: 0.5715 MB / 3.674 GB, free: 61.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/10.23, allocations: 21.81 kB / 3.674 GB, free: 61.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/10.23, allocations: 34.06 kB / 3.674 GB, free: 61.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001182/10.23, allocations: 0.543 MB / 3.675 GB, free: 61.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/10.23, allocations: 0.6578 MB / 3.676 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/10.23, allocations: 8.562 kB / 3.676 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/10.23, allocations: 0 / 3.676 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/10.23, allocations: 23.47 kB / 3.676 GB, free: 61.73 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.02316/10.25, allocations: 12.02 MB / 3.687 GB, free: 54.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/10.25, allocations: 450.5 kB / 3.688 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/10.25, allocations: 227.3 kB / 3.688 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1048/10.36, allocations: 55.75 MB / 3.742 GB, free: 18.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.547e-05/10.36, allocations: 37.25 kB / 3.742 GB, free: 18.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 4.218e-06/10.36, allocations: 0 / 3.742 GB, free: 18.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51): time 0.006416/10.36, allocations: 1.815 MB / 3.744 GB, free: 18.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/10.36, allocations: 110.1 kB / 3.744 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/10.36, allocations: 381.7 kB / 3.745 GB, free: 18.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/10.36, allocations: 29.7 kB / 3.745 GB, free: 18.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/10.36, allocations: 330.6 kB / 3.745 GB, free: 18.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/10.36, allocations: 176.6 kB / 3.745 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/10.36, allocations: 0 / 3.745 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001052/10.36, allocations: 362.9 kB / 3.746 GB, free: 17.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/10.37, allocations: 191 kB / 3.746 GB, free: 17.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/10.37, allocations: 349.9 kB / 3.746 GB, free: 17.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/10.37, allocations: 326.1 kB / 3.746 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/10.37, allocations: 3.938 kB / 3.746 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001985/10.37, allocations: 0.8345 MB / 3.747 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003791/10.37, allocations: 1.749 MB / 3.749 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/10.37, allocations: 3.938 kB / 3.749 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/10.37, allocations: 295.1 kB / 3.749 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/10.37, allocations: 135.3 kB / 3.749 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/10.37, allocations: 0.9578 MB / 3.75 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000769/10.37, allocations: 82.44 kB / 3.75 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/10.37, allocations: 36.11 kB / 3.75 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/10.37, allocations: 5.312 kB / 3.75 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001705/10.37, allocations: 0.6926 MB / 3.751 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/10.37, allocations: 3.969 kB / 3.751 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/10.38, allocations: 279.8 kB / 3.751 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/10.38, allocations: 142.7 kB / 3.751 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009777/10.38, allocations: 0.8562 MB / 3.752 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/10.38, allocations: 77.56 kB / 3.752 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-05/10.38, allocations: 34.91 kB / 3.752 GB, free: 14.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002131/10.38, allocations: 123.4 kB / 3.753 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00151/10.38, allocations: 0.5702 MB / 3.753 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-05/10.38, allocations: 59.34 kB / 3.753 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003508/10.38, allocations: 2.627 MB / 3.756 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.616e-05/10.38, allocations: 42.89 kB / 3.756 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/10.38, allocations: 0 / 3.756 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/10.38, allocations: 3.562 kB / 3.756 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006278/10.39, allocations: 3.612 MB / 3.759 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/10.39, allocations: 4 kB / 3.759 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000795/10.39, allocations: 171 kB / 3.759 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002375/10.39, allocations: 64.28 kB / 3.759 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/10.39, allocations: 6.719 kB / 3.759 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008475/10.39, allocations: 1.206 MB / 3.761 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/10.39, allocations: 0 / 3.761 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/10.39, allocations: 2.269 MB / 3.763 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005415/10.4, allocations: 319.9 kB / 3.763 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.842e-05/10.4, allocations: 0 / 3.763 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/10.4, allocations: 59.81 kB / 3.763 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/10.4, allocations: 58.3 kB / 3.763 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/10.4, allocations: 27.52 kB / 3.763 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004898/10.4, allocations: 389.3 kB / 3.764 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/10.4, allocations: 0 / 3.764 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006468/10.4, allocations: 1.34 MB / 3.765 GB, free: 20.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01355/10.42, allocations: 4.541 MB / 3.769 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002818/10.42, allocations: 1.205 MB / 3.771 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/10.42, allocations: 0 / 3.771 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/10.42, allocations: 0.7404 MB / 3.771 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/10.42, allocations: 288.8 kB / 3.772 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008208/10.43, allocations: 2.392 MB / 3.774 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008254/10.43, allocations: 1.151 MB / 3.775 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00139/10.43, allocations: 0.678 MB / 3.776 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005445/10.43, allocations: 429.6 kB / 3.776 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/10.43, allocations: 0 / 3.776 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5378/10.97, allocations: 50.07 MB / 3.825 GB, free: 90.85 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/10.97, allocations: 195.1 kB / 3.825 GB, free: 90.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.897/14.87, allocations: 0 / 3.825 GB, free: 90.65 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat