Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001535/0.001535, allocations: 185.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 92.17 kB / 270.9 MB, free: 8.359 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.5265/0.5265, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004923, allocations: 12 kB / 431.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.137, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.796/8.933, allocations: 2.782 GB / 3.261 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/8.934, allocations: 91.44 kB / 3.261 GB, free: 24.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.652/11.59, allocations: 440.3 MB / 3.691 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.605e-06/11.59, allocations: 2.719 kB / 3.691 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.325e-05/11.59, allocations: 15.75 kB / 3.691 GB, free: 57.11 MB / 0.5105 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.008496/11.59, allocations: 1.835 MB / 3.692 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/11.59, allocations: 10.97 kB / 3.692 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002824/11.6, allocations: 98.75 kB / 3.693 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003772/11.6, allocations: 327.1 kB / 3.693 GB, free: 56.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/11.6, allocations: 0.5721 MB / 3.693 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.686e-05/11.6, allocations: 49 kB / 3.693 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/11.6, allocations: 56.42 kB / 3.694 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/11.6, allocations: 1.006 MB / 3.695 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/11.6, allocations: 3.562 kB / 3.695 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/11.6, allocations: 28.06 kB / 3.695 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-05/11.6, allocations: 20.28 kB / 3.695 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003996/11.61, allocations: 0.9063 MB / 3.695 GB, free: 55.91 MB / 0.5105 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.007311/11.62, allocations: 4.537 MB / 3.7 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004026/11.62, allocations: 0.7943 MB / 3.701 GB, free: 52.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1874/11.81, allocations: 55.54 MB / 3.755 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/11.81, allocations: 36.84 kB / 3.755 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 4.318e-06/11.81, allocations: 1 kB / 3.755 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.0114/11.82, allocations: 2.25 MB / 3.757 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.73e-05/11.82, allocations: 115.6 kB / 3.757 GB, free: 34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009956/11.82, allocations: 450.9 kB / 3.758 GB, free: 33.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001702/11.82, allocations: 35.77 kB / 3.758 GB, free: 33.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/11.82, allocations: 364.8 kB / 3.758 GB, free: 33.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/11.82, allocations: 177.4 kB / 3.758 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/11.82, allocations: 15.25 kB / 3.758 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001609/11.82, allocations: 333.9 kB / 3.759 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/11.82, allocations: 266 kB / 3.759 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/11.82, allocations: 438.8 kB / 3.759 GB, free: 33.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/11.83, allocations: 304 kB / 3.76 GB, free: 33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/11.83, allocations: 1.344 kB / 3.76 GB, free: 33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004228/11.83, allocations: 0.9318 MB / 3.76 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007816/11.83, allocations: 1.75 MB / 3.762 GB, free: 31.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/11.83, allocations: 4.359 kB / 3.762 GB, free: 31.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003654/11.83, allocations: 424.5 kB / 3.763 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/11.83, allocations: 131.8 kB / 3.763 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/11.84, allocations: 0.9217 MB / 3.764 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/11.84, allocations: 102.6 kB / 3.764 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/11.84, allocations: 33.95 kB / 3.764 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/11.84, allocations: 6.25 kB / 3.764 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005168/11.84, allocations: 0.924 MB / 3.765 GB, free: 30.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/11.84, allocations: 4.375 kB / 3.765 GB, free: 30.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/11.85, allocations: 315.3 kB / 3.765 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/11.85, allocations: 136.8 kB / 3.765 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/11.85, allocations: 0.8804 MB / 3.766 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/11.85, allocations: 86.88 kB / 3.766 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/11.85, allocations: 33.62 kB / 3.766 GB, free: 29.93 MB / 0.5261 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.000667/11.85, allocations: 287.8 kB / 3.766 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/11.85, allocations: 63.16 kB / 3.766 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006102/11.86, allocations: 2.912 MB / 3.769 GB, free: 29.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-05/11.86, allocations: 49.89 kB / 3.769 GB, free: 29.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/11.86, allocations: 3.609 kB / 3.769 GB, free: 29.35 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/11.86, allocations: 3.75 kB / 3.769 GB, free: 29.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008039/11.87, allocations: 4.083 MB / 3.773 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/11.87, allocations: 0 / 3.773 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/11.87, allocations: 165 kB / 3.773 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005892/11.87, allocations: 81.03 kB / 3.773 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.512e-05/11.87, allocations: 24.78 kB / 3.773 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009771/11.87, allocations: 1.179 MB / 3.775 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/11.87, allocations: 0 / 3.775 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00561/11.88, allocations: 2.564 MB / 3.777 GB, free: 27.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008879/11.88, allocations: 335 kB / 3.777 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/11.88, allocations: 11.16 kB / 3.777 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/11.88, allocations: 81.7 kB / 3.778 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/11.88, allocations: 53.56 kB / 3.778 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.111e-05/11.88, allocations: 27.86 kB / 3.778 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001047/11.88, allocations: 463 kB / 3.778 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/11.88, allocations: 0 / 3.778 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008029/11.89, allocations: 1.396 MB / 3.779 GB, free: 26.97 MB / 0.5261 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.01757/11.91, allocations: 4.735 MB / 3.784 GB, free: 25.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005982/11.91, allocations: 1.476 MB / 3.786 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/11.91, allocations: 0 / 3.786 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/11.91, allocations: 0.8582 MB / 3.786 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/11.92, allocations: 329.1 kB / 3.787 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/11.93, allocations: 7.051 MB / 3.794 GB, free: 20.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008575/11.93, allocations: 1.159 MB / 3.795 GB, free: 20.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000885/11.93, allocations: 462.5 kB / 3.795 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of SimCode: time 1.362e-06/11.93, allocations: 0 / 3.795 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.039/15.97, allocations: 43.94 MB / 3.838 GB, free: 16.43 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat