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.002423/0.002422, allocations: 180.9 kB / 13.66 MB, free: 1.664 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.141/2.141, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001143/0.001142, allocations: 78.67 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2915/0.2915, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.671e-05, allocations: 7.984 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.427/8.563, allocations: 2.782 GB / 3.255 GB, free: 57.28 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/8.564, allocations: 87.44 kB / 3.255 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.234/10.8, allocations: 439.1 MB / 3.683 GB, free: 38.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/10.8, allocations: 0 / 3.683 GB, free: 38.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.094e-05/10.8, allocations: 23.94 kB / 3.683 GB, free: 38.88 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.008102/10.81, allocations: 1.757 MB / 3.685 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/10.81, allocations: 12.03 kB / 3.685 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/10.81, allocations: 94.5 kB / 3.685 GB, free: 36.97 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/10.81, allocations: 330.8 kB / 3.686 GB, free: 36.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/10.81, allocations: 0.5634 MB / 3.686 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/10.81, allocations: 53.31 kB / 3.686 GB, free: 36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/10.81, allocations: 60.59 kB / 3.686 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/10.81, allocations: 0.9729 MB / 3.687 GB, free: 34.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/10.81, allocations: 3.938 kB / 3.687 GB, free: 34.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/10.81, allocations: 28 kB / 3.687 GB, free: 34.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/10.81, allocations: 21 kB / 3.687 GB, free: 34.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/10.82, allocations: 0.8079 MB / 3.688 GB, free: 34.04 MB / 0.5105 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.006978/10.82, allocations: 4.536 MB / 3.692 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002744/10.83, allocations: 0.7171 MB / 3.693 GB, free: 28.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/10.83, allocations: 242.1 kB / 3.693 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5785/11.41, allocations: 55.72 MB / 3.748 GB, free: 45.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/11.41, allocations: 40.16 kB / 3.748 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 4.869e-06/11.41, allocations: 0 / 3.748 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.008065/11.41, allocations: 1.851 MB / 3.75 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/11.41, allocations: 112.2 kB / 3.75 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008631/11.42, allocations: 447.6 kB / 3.75 GB, free: 44.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/11.42, allocations: 36.33 kB / 3.75 GB, free: 44.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/11.42, allocations: 354.9 kB / 3.751 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/11.42, allocations: 181.1 kB / 3.751 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/11.42, allocations: 10.69 kB / 3.751 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.974e-05/11.42, allocations: 338.5 kB / 3.751 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/11.42, allocations: 195 kB / 3.751 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/11.42, allocations: 362.2 kB / 3.752 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006357/11.42, allocations: 235.1 kB / 3.752 GB, free: 44.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/11.42, allocations: 4.406 kB / 3.752 GB, free: 44.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002716/11.42, allocations: 0.7677 MB / 3.753 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004393/11.42, allocations: 1.742 MB / 3.754 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/11.42, allocations: 6.922 kB / 3.754 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0031/11.42, allocations: 376.5 kB / 3.755 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/11.43, allocations: 139.4 kB / 3.755 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/11.43, allocations: 0.8771 MB / 3.756 GB, free: 41.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/11.43, allocations: 91.72 kB / 3.756 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/11.43, allocations: 37.3 kB / 3.756 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/11.43, allocations: 3.938 kB / 3.756 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003402/11.43, allocations: 0.7622 MB / 3.756 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/11.43, allocations: 8.047 kB / 3.756 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002228/11.43, allocations: 273.9 kB / 3.757 GB, free: 41.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/11.44, allocations: 142.6 kB / 3.757 GB, free: 41.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/11.44, allocations: 0.8304 MB / 3.758 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/11.44, allocations: 95.38 kB / 3.758 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/11.44, allocations: 30.77 kB / 3.758 GB, free: 41.05 MB / 0.5105 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.0003286/11.44, allocations: 144.7 kB / 3.758 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/11.44, allocations: 70.56 kB / 3.758 GB, free: 40.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/11.44, allocations: 2.837 MB / 3.761 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-05/11.44, allocations: 45.14 kB / 3.761 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/11.44, allocations: 5.422 kB / 3.761 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/11.44, allocations: 3 kB / 3.761 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006764/11.45, allocations: 3.997 MB / 3.765 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/11.45, allocations: 6.938 kB / 3.765 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/11.45, allocations: 168.3 kB / 3.765 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/11.45, allocations: 69.7 kB / 3.765 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/11.45, allocations: 22.52 kB / 3.765 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007035/11.45, allocations: 1.18 MB / 3.766 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/11.45, allocations: 3.938 kB / 3.766 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004009/11.46, allocations: 2.373 MB / 3.768 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007479/11.46, allocations: 328.4 kB / 3.769 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/11.46, allocations: 13.94 kB / 3.769 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/11.46, allocations: 79.69 kB / 3.769 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/11.46, allocations: 54.56 kB / 3.769 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.435e-05/11.46, allocations: 30.06 kB / 3.769 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007965/11.46, allocations: 449.5 kB / 3.769 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/11.46, allocations: 0 / 3.769 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007005/11.47, allocations: 1.394 MB / 3.771 GB, free: 38.56 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: 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 () * 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.0152/11.48, allocations: 4.551 MB / 3.775 GB, free: 37.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004225/11.49, allocations: 1.267 MB / 3.776 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.046e-06/11.49, allocations: 0 / 3.776 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/11.49, allocations: 0.8049 MB / 3.777 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003044/11.49, allocations: 322.7 kB / 3.778 GB, free: 37.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008671/11.5, allocations: 2.587 MB / 3.78 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/11.5, allocations: 1.171 MB / 3.781 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008368/11.5, allocations: 458 kB / 3.782 GB, free: 36.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/11.5, allocations: 0 / 3.782 GB, free: 36.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.302/15.81, allocations: 45.08 MB / 3.826 GB, free: 32.86 MB / 0.5105 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