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.001645/0.001645, 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.798/1.798, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009084/0.0009084, allocations: 86.59 kB / 267 MB, free: 9.285 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.4558/0.4558, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.873e-05/4.875e-05, allocations: 4 kB / 425.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1736, allocations: 58.85 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.972/8.146, allocations: 2.782 GB / 3.254 GB, free: 46.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/8.146, allocations: 86.2 kB / 3.255 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.432/9.578, allocations: 438.8 MB / 3.683 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/9.578, allocations: 3.938 kB / 3.683 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003578/9.579, allocations: 16 kB / 3.683 GB, free: 13.82 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.00807/9.587, allocations: 1.744 MB / 3.685 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/9.587, allocations: 12.03 kB / 3.685 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002272/9.587, allocations: 103.7 kB / 3.685 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/9.59, allocations: 326.7 kB / 3.685 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/9.591, allocations: 0.5599 MB / 3.686 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/9.591, allocations: 48.12 kB / 3.686 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/9.591, allocations: 56.69 kB / 3.686 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/9.594, allocations: 0.9729 MB / 3.687 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/9.594, allocations: 7.938 kB / 3.687 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/9.594, allocations: 24 kB / 3.687 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/9.594, allocations: 21 kB / 3.687 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/9.596, allocations: 0.804 MB / 3.688 GB, free: 9.012 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.005824/9.601, allocations: 4.811 MB / 3.692 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/9.603, allocations: 0.6279 MB / 3.693 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/9.604, allocations: 228.7 kB / 3.693 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3698/9.973, allocations: 24.15 MB / 3.717 GB, free: 48.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/9.973, allocations: 39.38 kB / 3.717 GB, free: 48.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 3.076e-06/9.973, allocations: 2.516 kB / 3.717 GB, free: 48.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.003525/9.977, allocations: 1.01 MB / 3.718 GB, free: 48.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/9.977, allocations: 109.3 kB / 3.718 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/9.978, allocations: 450.8 kB / 3.718 GB, free: 48.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.96e-05/9.978, allocations: 32.11 kB / 3.718 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/9.979, allocations: 338.2 kB / 3.719 GB, free: 47.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/9.979, allocations: 150.7 kB / 3.719 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/9.979, allocations: 12.88 kB / 3.719 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001537/9.979, allocations: 365.5 kB / 3.719 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/9.979, allocations: 171.6 kB / 3.719 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/9.98, allocations: 346.7 kB / 3.72 GB, free: 47.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/9.98, allocations: 204 kB / 3.72 GB, free: 47.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/9.98, allocations: 6.5 kB / 3.72 GB, free: 47.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001467/9.982, allocations: 0.6517 MB / 3.72 GB, free: 47.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004818/9.982, allocations: 2.003 MB / 3.722 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/9.982, allocations: 7.812 kB / 3.722 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/9.984, allocations: 265 kB / 3.723 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/9.984, allocations: 133.7 kB / 3.723 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007558/9.985, allocations: 0.7494 MB / 3.723 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008777/9.986, allocations: 127.7 kB / 3.724 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/9.986, allocations: 31.84 kB / 3.724 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/9.986, allocations: 7.781 kB / 3.724 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001436/9.987, allocations: 0.5972 MB / 3.724 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/9.987, allocations: 9.844 kB / 3.724 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008275/9.988, allocations: 176 kB / 3.724 GB, free: 44.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/9.989, allocations: 136.3 kB / 3.725 GB, free: 44.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005604/9.989, allocations: 0.7156 MB / 3.725 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007999/9.99, allocations: 106.6 kB / 3.725 GB, free: 44.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/9.99, allocations: 31.88 kB / 3.725 GB, free: 44.06 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 () * 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.0002523/9.991, allocations: 143.5 kB / 3.726 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/9.991, allocations: 60.53 kB / 3.726 GB, free: 43.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/9.994, allocations: 2.988 MB / 3.728 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-05/9.994, allocations: 43.55 kB / 3.729 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/9.994, allocations: 5.594 kB / 3.729 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/9.994, allocations: 5.859 kB / 3.729 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/9.996, allocations: 1.459 MB / 3.73 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/9.996, allocations: 0 / 3.73 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/9.996, allocations: 89.59 kB / 3.73 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001961/9.998, allocations: 1.213 MB / 3.731 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/9.998, allocations: 10.05 kB / 3.731 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/9.999, allocations: 1.476 MB / 3.733 GB, free: 42.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/9.999, allocations: 0 / 3.733 GB, free: 42.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/10, allocations: 1.966 MB / 3.735 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/10, allocations: 327.5 kB / 3.735 GB, free: 42.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/10, allocations: 12.25 kB / 3.735 GB, free: 42.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006693/10, allocations: 87.56 kB / 3.735 GB, free: 42.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/10, allocations: 43.08 kB / 3.735 GB, free: 42.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/10, allocations: 23.39 kB / 3.735 GB, free: 42.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005617/10, allocations: 453.2 kB / 3.736 GB, free: 42.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.41e-07/10, allocations: 3.25 kB / 3.736 GB, free: 42.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006725/10.01, allocations: 1.415 MB / 3.737 GB, free: 42.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 () * 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.01259/10.02, allocations: 3.82 MB / 3.741 GB, free: 41.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002276/10.03, allocations: 1.134 MB / 3.742 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/10.03, allocations: 0 / 3.742 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009012/10.03, allocations: 0.7289 MB / 3.742 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/10.03, allocations: 311.9 kB / 3.743 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007064/10.04, allocations: 2.344 MB / 3.745 GB, free: 40.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/10.04, allocations: 1.158 MB / 3.746 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001458/10.04, allocations: 0.6694 MB / 3.747 GB, free: 40.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/10.04, allocations: 400.9 kB / 3.747 GB, free: 40.12 MB / 0.5105 GB Notification: Performance of SimCode: time 2.174e-06/10.04, allocations: 0 / 3.747 GB, free: 40.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/10.14, allocations: 57.8 MB / 3.804 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/10.14, allocations: 229.3 kB / 3.804 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.96/14.1, allocations: 11.78 kB / 3.804 GB, free: 37.1 MB / 0.5105 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