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.001119/0.001119, allocations: 180.2 kB / 14.15 MB, free: 1.176 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.536/1.536, allocations: 221.4 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 87.8 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2739/0.2739, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.905e-05, allocations: 8.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1501, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.708/7.858, allocations: 2.787 GB / 3.289 GB, free: 146 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/7.858, allocations: 83.27 kB / 3.289 GB, free: 146 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.902/9.76, allocations: 443.7 MB / 3.722 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.404e-06/9.76, allocations: 0 / 3.722 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.648e-05/9.76, allocations: 18.81 kB / 3.722 GB, free: 62.65 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.00718/9.767, allocations: 1.762 MB / 3.724 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/9.767, allocations: 13.52 kB / 3.724 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/9.768, allocations: 94.08 kB / 3.724 GB, free: 61.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/9.77, allocations: 328.8 kB / 3.725 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/9.771, allocations: 0.56 MB / 3.725 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.061e-05/9.771, allocations: 51.19 kB / 3.725 GB, free: 61.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.702e-05/9.771, allocations: 53.41 kB / 3.725 GB, free: 61.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/9.773, allocations: 0.9708 MB / 3.726 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/9.773, allocations: 9.719 kB / 3.726 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/9.773, allocations: 30.28 kB / 3.726 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/9.774, allocations: 21 kB / 3.726 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/9.775, allocations: 0.8077 MB / 3.727 GB, free: 60.53 MB / 0.5261 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.004529/9.78, allocations: 4.529 MB / 3.731 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/9.782, allocations: 0.725 MB / 3.732 GB, free: 56.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/9.782, allocations: 238.4 kB / 3.732 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0997/9.882, allocations: 55.75 MB / 3.787 GB, free: 20.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/9.882, allocations: 42.7 kB / 3.787 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.765e-06/9.882, allocations: 0 / 3.787 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.005159/9.887, allocations: 1.853 MB / 3.789 GB, free: 19.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/9.887, allocations: 113.8 kB / 3.789 GB, free: 19.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006114/9.888, allocations: 445.1 kB / 3.789 GB, free: 19.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/9.888, allocations: 33.61 kB / 3.789 GB, free: 19.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/9.888, allocations: 329.1 kB / 3.789 GB, free: 18.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/9.888, allocations: 179.7 kB / 3.79 GB, free: 18.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/9.888, allocations: 11.97 kB / 3.79 GB, free: 18.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000118/9.888, allocations: 373.8 kB / 3.79 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/9.888, allocations: 189.7 kB / 3.79 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/9.889, allocations: 372.8 kB / 3.791 GB, free: 18.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/9.889, allocations: 236.6 kB / 3.791 GB, free: 18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/9.889, allocations: 0 / 3.791 GB, free: 18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001503/9.891, allocations: 0.7977 MB / 3.792 GB, free: 17.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004638/9.891, allocations: 1.748 MB / 3.793 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/9.891, allocations: 7.672 kB / 3.793 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/9.893, allocations: 379.5 kB / 3.794 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/9.894, allocations: 143.2 kB / 3.794 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/9.895, allocations: 0.8687 MB / 3.795 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/9.896, allocations: 96.3 kB / 3.795 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/9.896, allocations: 40.42 kB / 3.795 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/9.896, allocations: 3.531 kB / 3.795 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001892/9.898, allocations: 0.7604 MB / 3.795 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/9.898, allocations: 6.344 kB / 3.795 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/9.899, allocations: 305.7 kB / 3.796 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/9.899, allocations: 141.9 kB / 3.796 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009998/9.9, allocations: 0.8282 MB / 3.797 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/9.901, allocations: 93.25 kB / 3.797 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/9.901, allocations: 30.33 kB / 3.797 GB, free: 13.97 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 () * 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.0002587/9.902, allocations: 146.4 kB / 3.797 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/9.902, allocations: 67.19 kB / 3.797 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/9.906, allocations: 2.837 MB / 3.8 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-05/9.906, allocations: 45.17 kB / 3.8 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/9.906, allocations: 0 / 3.8 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/9.906, allocations: 3.094 kB / 3.8 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004363/9.91, allocations: 4.008 MB / 3.804 GB, free: 26.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/9.91, allocations: 3.938 kB / 3.804 GB, free: 26.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007467/9.911, allocations: 175 kB / 3.804 GB, free: 26.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003062/9.912, allocations: 66.45 kB / 3.804 GB, free: 26.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/9.912, allocations: 23.56 kB / 3.804 GB, free: 26.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007239/9.912, allocations: 1.179 MB / 3.805 GB, free: 25.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/9.912, allocations: 3.5 kB / 3.805 GB, free: 25.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/9.915, allocations: 2.373 MB / 3.808 GB, free: 24.17 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/9.915, allocations: 320.1 kB / 3.808 GB, free: 23.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-05/9.916, allocations: 15.91 kB / 3.808 GB, free: 23.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/9.916, allocations: 79.73 kB / 3.808 GB, free: 23.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/9.916, allocations: 51.48 kB / 3.808 GB, free: 23.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/9.916, allocations: 23.33 kB / 3.808 GB, free: 23.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006058/9.917, allocations: 454.2 kB / 3.808 GB, free: 23.69 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/9.917, allocations: 3.938 kB / 3.808 GB, free: 23.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007119/9.924, allocations: 1.406 MB / 3.81 GB, free: 23 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 () * 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.01323/9.937, allocations: 4.547 MB / 3.814 GB, free: 19 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002896/9.94, allocations: 1.287 MB / 3.815 GB, free: 17.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/9.94, allocations: 0 / 3.815 GB, free: 17.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/9.941, allocations: 0.8014 MB / 3.816 GB, free: 17.04 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/9.943, allocations: 328.6 kB / 3.817 GB, free: 16.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008536/9.952, allocations: 2.557 MB / 3.819 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/9.953, allocations: 1.168 MB / 3.82 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001606/9.955, allocations: 0.6859 MB / 3.821 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006738/9.956, allocations: 450.3 kB / 3.821 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of SimCode: time 1.994e-06/9.956, allocations: 4 kB / 3.821 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5526/10.51, allocations: 59.04 MB / 3.879 GB, free: 66 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/10.51, allocations: 235.6 kB / 3.879 GB, free: 65.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.076/14.58, allocations: 0 / 3.879 GB, free: 65.7 MB / 0.5417 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