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.001319/0.001319, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0008067/0.0008066, allocations: 90.55 kB / 267.1 MB, free: 9.262 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.4291/0.4291, allocations: 43.47 MB / 358.6 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.381e-05, allocations: 0 / 425.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1417, allocations: 58.85 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.767/7.908, allocations: 2.782 GB / 3.255 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/7.909, allocations: 83.53 kB / 3.255 GB, free: 106 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.736/9.645, allocations: 439.1 MB / 3.683 GB, free: 40.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.066e-06/9.645, allocations: 0 / 3.683 GB, free: 40.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.542e-05/9.646, allocations: 23 kB / 3.683 GB, free: 40.61 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.006769/9.652, allocations: 1.756 MB / 3.685 GB, free: 39.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/9.652, allocations: 7.469 kB / 3.685 GB, free: 39.53 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/9.652, allocations: 100.5 kB / 3.685 GB, free: 39.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/9.655, allocations: 328.1 kB / 3.686 GB, free: 39.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/9.656, allocations: 0.576 MB / 3.686 GB, free: 39.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/9.656, allocations: 45.94 kB / 3.686 GB, free: 39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.279e-05/9.656, allocations: 52.19 kB / 3.686 GB, free: 38.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/9.658, allocations: 0.9784 MB / 3.687 GB, free: 38.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/9.658, allocations: 7.938 kB / 3.687 GB, free: 38.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/9.658, allocations: 26.41 kB / 3.687 GB, free: 38.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/9.658, allocations: 18.03 kB / 3.687 GB, free: 38.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/9.66, allocations: 0.8069 MB / 3.688 GB, free: 38.25 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.004225/9.664, allocations: 4.535 MB / 3.692 GB, free: 34.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/9.666, allocations: 0.721 MB / 3.693 GB, free: 34.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/9.666, allocations: 245.1 kB / 3.693 GB, free: 34.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5484/10.21, allocations: 55.73 MB / 3.748 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/10.21, allocations: 42.05 kB / 3.748 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.044e-06/10.21, allocations: 0 / 3.748 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.005268/10.22, allocations: 1.851 MB / 3.75 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/10.22, allocations: 109.8 kB / 3.75 GB, free: 62.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005309/10.22, allocations: 442.5 kB / 3.75 GB, free: 62.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/10.22, allocations: 39.52 kB / 3.75 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/10.22, allocations: 327 kB / 3.751 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/10.22, allocations: 175.1 kB / 3.751 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/10.22, allocations: 17 kB / 3.751 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/10.22, allocations: 367.7 kB / 3.751 GB, free: 61.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/10.22, allocations: 195 kB / 3.751 GB, free: 61.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/10.22, allocations: 366.1 kB / 3.752 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/10.22, allocations: 235.2 kB / 3.752 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/10.22, allocations: 0 / 3.752 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001563/10.22, allocations: 0.8107 MB / 3.753 GB, free: 61.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003222/10.22, allocations: 1.74 MB / 3.754 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/10.22, allocations: 4.656 kB / 3.754 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/10.23, allocations: 379.5 kB / 3.755 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/10.23, allocations: 138.1 kB / 3.755 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/10.23, allocations: 0.876 MB / 3.756 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007796/10.23, allocations: 95.48 kB / 3.756 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/10.23, allocations: 35.91 kB / 3.756 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/10.23, allocations: 4.375 kB / 3.756 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001906/10.23, allocations: 0.7645 MB / 3.757 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/10.23, allocations: 5.375 kB / 3.757 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/10.23, allocations: 301.6 kB / 3.757 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/10.23, allocations: 135.6 kB / 3.757 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/10.23, allocations: 0.8386 MB / 3.758 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/10.23, allocations: 89.59 kB / 3.758 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.927e-05/10.23, allocations: 33.19 kB / 3.758 GB, free: 58.32 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.0002535/10.23, allocations: 143.8 kB / 3.758 GB, free: 58.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/10.23, allocations: 66.73 kB / 3.758 GB, free: 58.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/10.24, allocations: 2.841 MB / 3.761 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.545e-05/10.24, allocations: 46.02 kB / 3.761 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/10.24, allocations: 0 / 3.761 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/10.24, allocations: 6.516 kB / 3.761 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004453/10.24, allocations: 4.007 MB / 3.765 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/10.24, allocations: 4.266 kB / 3.765 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007534/10.24, allocations: 167.9 kB / 3.765 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002986/10.24, allocations: 73.69 kB / 3.765 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/10.24, allocations: 19.5 kB / 3.765 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005256/10.24, allocations: 1.175 MB / 3.766 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/10.24, allocations: 1.75 kB / 3.766 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/10.25, allocations: 2.373 MB / 3.769 GB, free: 56.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/10.25, allocations: 323.4 kB / 3.769 GB, free: 55.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.375e-05/10.25, allocations: 15.88 kB / 3.769 GB, free: 55.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/10.25, allocations: 79.23 kB / 3.769 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/10.25, allocations: 52.39 kB / 3.769 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/10.25, allocations: 23.91 kB / 3.769 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005321/10.25, allocations: 451.1 kB / 3.769 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/10.25, allocations: 0 / 3.769 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006329/10.25, allocations: 1.403 MB / 3.771 GB, free: 55.84 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.01241/10.27, allocations: 4.558 MB / 3.775 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002747/10.27, allocations: 1.281 MB / 3.777 GB, free: 54.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/10.27, allocations: 3.25 kB / 3.777 GB, free: 54.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/10.27, allocations: 0.804 MB / 3.777 GB, free: 54.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/10.27, allocations: 327 kB / 3.778 GB, free: 54.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006968/10.28, allocations: 2.542 MB / 3.78 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/10.28, allocations: 1.174 MB / 3.781 GB, free: 53.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0012/10.28, allocations: 0.6839 MB / 3.782 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/10.28, allocations: 447.9 kB / 3.782 GB, free: 53.67 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/10.28, allocations: 4.719 kB / 3.782 GB, free: 53.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/10.4, allocations: 58.95 MB / 3.84 GB, free: 51 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/10.4, allocations: 237.1 kB / 3.84 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.992/14.39, allocations: 7.438 kB / 3.84 GB, free: 50.7 MB / 0.5105 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