Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",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.001914/0.001914, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.916/1.916, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001221/0.001221, allocations: 102.8 kB / 270.2 MB, free: 13.36 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.2583/0.2583, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004511, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1572, allocations: 58.85 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.53/7.687, allocations: 2.782 GB / 3.26 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/7.688, allocations: 87.7 kB / 3.261 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.661/9.349, allocations: 440 MB / 3.69 GB, free: 56.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.268e-06/9.349, allocations: 0 / 3.69 GB, free: 56.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.891e-05/9.349, allocations: 22 kB / 3.69 GB, free: 56.62 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.007935/9.357, allocations: 1.834 MB / 3.692 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/9.357, allocations: 10.59 kB / 3.692 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003835/9.357, allocations: 107.2 kB / 3.692 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/9.36, allocations: 328.2 kB / 3.692 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/9.361, allocations: 0.5709 MB / 3.693 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/9.362, allocations: 49.38 kB / 3.693 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/9.362, allocations: 51.31 kB / 3.693 GB, free: 55.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/9.364, allocations: 1.002 MB / 3.694 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/9.364, allocations: 3.312 kB / 3.694 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-05/9.364, allocations: 31.22 kB / 3.694 GB, free: 54.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/9.364, allocations: 23.81 kB / 3.694 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/9.367, allocations: 0.897 MB / 3.695 GB, free: 54.34 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.005608/9.372, allocations: 4.806 MB / 3.7 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/9.374, allocations: 0.6982 MB / 3.7 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04441/9.419, allocations: 24.08 MB / 3.724 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.813e-05/9.419, allocations: 41.09 kB / 3.724 GB, free: 34.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 4.127e-06/9.419, allocations: 0 / 3.724 GB, free: 34.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.00657/9.426, allocations: 1.637 MB / 3.726 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/9.426, allocations: 110.7 kB / 3.726 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008125/9.426, allocations: 464.8 kB / 3.726 GB, free: 33.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.622e-05/9.427, allocations: 33.42 kB / 3.726 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/9.427, allocations: 344.1 kB / 3.726 GB, free: 33.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/9.427, allocations: 151.9 kB / 3.727 GB, free: 33.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/9.427, allocations: 8 kB / 3.727 GB, free: 33.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001194/9.427, allocations: 367.5 kB / 3.727 GB, free: 32.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/9.428, allocations: 237.9 kB / 3.727 GB, free: 32.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/9.428, allocations: 415 kB / 3.728 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/9.429, allocations: 279.2 kB / 3.728 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/9.429, allocations: 0 / 3.728 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001898/9.431, allocations: 0.8036 MB / 3.729 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005391/9.431, allocations: 2.018 MB / 3.731 GB, free: 30.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/9.432, allocations: 3.844 kB / 3.731 GB, free: 30.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/9.433, allocations: 299.7 kB / 3.731 GB, free: 30.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/9.434, allocations: 135.3 kB / 3.731 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/9.435, allocations: 0.7889 MB / 3.732 GB, free: 29.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009299/9.436, allocations: 128 kB / 3.732 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.703e-05/9.436, allocations: 34.55 kB / 3.732 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/9.436, allocations: 3.656 kB / 3.732 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002094/9.438, allocations: 0.7642 MB / 3.733 GB, free: 29.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/9.438, allocations: 7.625 kB / 3.733 GB, free: 29.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/9.439, allocations: 205 kB / 3.733 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/9.439, allocations: 148.6 kB / 3.733 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007911/9.44, allocations: 0.7545 MB / 3.734 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/9.441, allocations: 111.1 kB / 3.734 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/9.441, allocations: 28.42 kB / 3.734 GB, free: 28.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004672/9.442, allocations: 288.9 kB / 3.734 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/9.442, allocations: 61.19 kB / 3.734 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/9.446, allocations: 3.015 MB / 3.737 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.915e-05/9.446, allocations: 44.8 kB / 3.737 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/9.446, allocations: 4 kB / 3.737 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/9.446, allocations: 3.422 kB / 3.737 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/9.447, allocations: 1.447 MB / 3.739 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/9.447, allocations: 0 / 3.739 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/9.448, allocations: 94.05 kB / 3.739 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/9.45, allocations: 1.065 MB / 3.74 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.286e-05/9.45, allocations: 11.91 kB / 3.74 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/9.451, allocations: 1.439 MB / 3.741 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/9.451, allocations: 3.938 kB / 3.741 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/9.454, allocations: 2.019 MB / 3.743 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005419/9.455, allocations: 337.5 kB / 3.743 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/9.455, allocations: 11.56 kB / 3.744 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006663/9.455, allocations: 83.5 kB / 3.744 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/9.455, allocations: 47.25 kB / 3.744 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/9.456, allocations: 18.09 kB / 3.744 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005991/9.456, allocations: 470.6 kB / 3.744 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/9.456, allocations: 4 kB / 3.744 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006954/9.463, allocations: 1.423 MB / 3.745 GB, free: 22.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01498/9.478, allocations: 3.956 MB / 3.749 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00393/9.482, allocations: 1.325 MB / 3.751 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/9.482, allocations: 7.875 kB / 3.751 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/9.484, allocations: 0.7882 MB / 3.751 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/9.486, allocations: 308 kB / 3.752 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/9.499, allocations: 7.216 MB / 3.759 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/9.5, allocations: 1.155 MB / 3.76 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001409/9.501, allocations: 0.6529 MB / 3.761 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006094/9.502, allocations: 404.9 kB / 3.761 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of SimCode: time 2.454e-06/9.502, allocations: 0 / 3.761 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3994/9.902, allocations: 54.2 MB / 3.814 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/9.902, allocations: 264.1 kB / 3.814 GB, free: 72.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.899/13.8, allocations: 5.25 kB / 3.814 GB, free: 72.81 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat