Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",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.002004/0.002004, allocations: 177.7 kB / 17.06 MB, free: 5.094 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.574/1.574, allocations: 223.2 MB / 241 MB, free: 11.91 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.001026/0.001026, allocations: 96.55 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.4724/0.4724, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5065, allocations: 61.91 MB / 0.5096 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.088/8.594, allocations: 2.787 GB / 3.297 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/8.595, allocations: 96.3 kB / 3.297 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.717/10.31, allocations: 445 MB / 3.731 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.395e-06/10.31, allocations: 2.406 kB / 3.732 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.945e-05/10.31, allocations: 20.88 kB / 3.732 GB, free: 58.5 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007716/10.32, allocations: 1.831 MB / 3.733 GB, free: 57.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/10.32, allocations: 11.03 kB / 3.733 GB, free: 57.74 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003407/10.32, allocations: 100.1 kB / 3.733 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/10.32, allocations: 329.5 kB / 3.734 GB, free: 57.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/10.33, allocations: 0.5744 MB / 3.734 GB, free: 57.44 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/10.33, allocations: 49.88 kB / 3.734 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/10.33, allocations: 57.69 kB / 3.734 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/10.33, allocations: 1 MB / 3.735 GB, free: 57.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/10.33, allocations: 4 kB / 3.735 GB, free: 57.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/10.33, allocations: 27.53 kB / 3.735 GB, free: 57.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-05/10.33, allocations: 24.16 kB / 3.735 GB, free: 57.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/10.33, allocations: 0.9122 MB / 3.736 GB, free: 57.22 MB / 0.5261 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.005724/10.34, allocations: 4.523 MB / 3.741 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/10.34, allocations: 0.7986 MB / 3.742 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09924/10.44, allocations: 55.55 MB / 3.796 GB, free: 35.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.432e-05/10.44, allocations: 37.47 kB / 3.796 GB, free: 35.48 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.324e-06/10.44, allocations: 10.84 kB / 3.796 GB, free: 35.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.007223/10.45, allocations: 2.243 MB / 3.798 GB, free: 35.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/10.45, allocations: 115.1 kB / 3.798 GB, free: 34.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007042/10.45, allocations: 457.1 kB / 3.799 GB, free: 34.79 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/10.45, allocations: 39.67 kB / 3.799 GB, free: 34.75 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/10.45, allocations: 321.2 kB / 3.799 GB, free: 34.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/10.45, allocations: 179.1 kB / 3.799 GB, free: 34.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/10.45, allocations: 12.72 kB / 3.799 GB, free: 34.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001401/10.45, allocations: 366.4 kB / 3.799 GB, free: 34.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/10.45, allocations: 268.5 kB / 3.8 GB, free: 34.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006318/10.45, allocations: 437.8 kB / 3.8 GB, free: 33.97 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006174/10.45, allocations: 309 kB / 3.8 GB, free: 33.96 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/10.45, allocations: 0 / 3.8 GB, free: 33.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002312/10.45, allocations: 0.9641 MB / 3.801 GB, free: 33.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006092/10.45, allocations: 1.743 MB / 3.803 GB, free: 32.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/10.45, allocations: 7.969 kB / 3.803 GB, free: 32.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/10.46, allocations: 427.9 kB / 3.803 GB, free: 32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/10.46, allocations: 140.6 kB / 3.804 GB, free: 32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/10.46, allocations: 0.9206 MB / 3.804 GB, free: 31.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008792/10.46, allocations: 90.61 kB / 3.805 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/10.46, allocations: 29.47 kB / 3.805 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/10.46, allocations: 5.188 kB / 3.805 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00257/10.46, allocations: 0.9256 MB / 3.806 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/10.46, allocations: 8.656 kB / 3.806 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/10.46, allocations: 339.8 kB / 3.806 GB, free: 31.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/10.46, allocations: 134.5 kB / 3.806 GB, free: 31.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/10.46, allocations: 0.8964 MB / 3.807 GB, free: 30.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/10.47, allocations: 86.38 kB / 3.807 GB, free: 30.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/10.47, allocations: 36.44 kB / 3.807 GB, free: 30.85 MB / 0.5417 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 () * Number of clocked 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.0004763/10.47, allocations: 293.9 kB / 3.807 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/10.47, allocations: 64.16 kB / 3.807 GB, free: 30.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/10.47, allocations: 2.901 MB / 3.81 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-05/10.47, allocations: 42.97 kB / 3.81 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/10.47, allocations: 0 / 3.81 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/10.47, allocations: 3.891 kB / 3.81 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005044/10.47, allocations: 4.084 MB / 3.814 GB, free: 29.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/10.47, allocations: 2.719 kB / 3.814 GB, free: 29.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/10.48, allocations: 166.5 kB / 3.814 GB, free: 29.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/10.48, allocations: 81.81 kB / 3.814 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/10.48, allocations: 16.72 kB / 3.814 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007468/10.48, allocations: 1.177 MB / 3.816 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/10.48, allocations: 0 / 3.816 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/10.48, allocations: 2.572 MB / 3.818 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/10.48, allocations: 331 kB / 3.818 GB, free: 28.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/10.48, allocations: 15.16 kB / 3.818 GB, free: 28.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/10.48, allocations: 71.08 kB / 3.818 GB, free: 28.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/10.48, allocations: 59.25 kB / 3.819 GB, free: 28.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/10.48, allocations: 22.19 kB / 3.819 GB, free: 28.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006457/10.48, allocations: 461.9 kB / 3.819 GB, free: 28.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/10.48, allocations: 0 / 3.819 GB, free: 28.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006472/10.49, allocations: 1.411 MB / 3.82 GB, free: 27.91 MB / 0.5417 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: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.0125/10.5, allocations: 4.74 MB / 3.825 GB, free: 26.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00376/10.5, allocations: 1.477 MB / 3.826 GB, free: 26.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/10.5, allocations: 3.906 kB / 3.826 GB, free: 26.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/10.51, allocations: 0.8607 MB / 3.827 GB, free: 26.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/10.51, allocations: 323.1 kB / 3.828 GB, free: 26.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008557/10.52, allocations: 6.997 MB / 3.834 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/10.52, allocations: 1.167 MB / 3.836 GB, free: 21.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001116/10.52, allocations: 0.6695 MB / 3.836 GB, free: 21.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/10.52, allocations: 450.7 kB / 3.837 GB, free: 21.07 MB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/10.52, allocations: 0 / 3.837 GB, free: 21.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09303/10.61, allocations: 55.37 MB / 3.891 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/10.61, allocations: 266.4 kB / 3.891 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.324/14.94, allocations: 0 / 3.891 GB, free: 11.48 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat