Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.001408/0.001408, allocations: 182.8 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.946/1.946, 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.001225/0.001225, allocations: 94.84 kB / 270.2 MB, free: 13.37 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.2728/0.2728, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003751, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1719, allocations: 58.85 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.008/7.18, allocations: 2.782 GB / 3.261 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/7.18, allocations: 86.36 kB / 3.261 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.526/8.706, allocations: 441.1 MB / 3.692 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.713e-06/8.706, allocations: 1.859 kB / 3.692 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.383e-05/8.706, allocations: 17.94 kB / 3.692 GB, free: 56.13 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007532/8.714, allocations: 1.869 MB / 3.694 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/8.714, allocations: 7.562 kB / 3.694 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003654/8.714, allocations: 108.2 kB / 3.694 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/8.717, allocations: 328.5 kB / 3.694 GB, free: 54.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/8.718, allocations: 0.5762 MB / 3.695 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/8.718, allocations: 51.91 kB / 3.695 GB, free: 54.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/8.719, allocations: 59.88 kB / 3.695 GB, free: 54.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/8.721, allocations: 1.031 MB / 3.696 GB, free: 54.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/8.721, allocations: 0 / 3.696 GB, free: 54.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/8.721, allocations: 27.28 kB / 3.696 GB, free: 54 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/8.721, allocations: 24.22 kB / 3.696 GB, free: 54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/8.723, allocations: 0.9287 MB / 3.697 GB, free: 53.77 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.005466/8.729, allocations: 4.846 MB / 3.701 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/8.731, allocations: 0.8309 MB / 3.702 GB, free: 49.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0401/8.771, allocations: 24.07 MB / 3.726 GB, free: 34.06 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/8.771, allocations: 42.03 kB / 3.726 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.275e-06/8.771, allocations: 0 / 3.726 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.006443/8.778, allocations: 1.874 MB / 3.728 GB, free: 33.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/8.778, allocations: 107.1 kB / 3.728 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/8.779, allocations: 476.1 kB / 3.728 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/8.779, allocations: 37.08 kB / 3.728 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/8.779, allocations: 339.9 kB / 3.729 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/8.779, allocations: 172.5 kB / 3.729 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/8.779, allocations: 11.5 kB / 3.729 GB, free: 32.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/8.779, allocations: 367.2 kB / 3.729 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005784/8.78, allocations: 266.6 kB / 3.729 GB, free: 32.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/8.78, allocations: 455.2 kB / 3.73 GB, free: 31.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/8.781, allocations: 303.7 kB / 3.73 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/8.781, allocations: 3.781 kB / 3.73 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001729/8.783, allocations: 0.8953 MB / 3.731 GB, free: 31.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003561/8.783, allocations: 2.002 MB / 3.733 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/8.783, allocations: 7.844 kB / 3.733 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/8.785, allocations: 469.7 kB / 3.733 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005352/8.786, allocations: 154 kB / 3.734 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/8.787, allocations: 0.8477 MB / 3.734 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009839/8.788, allocations: 132.9 kB / 3.734 GB, free: 28.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-05/8.788, allocations: 40.52 kB / 3.734 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/8.788, allocations: 3.938 kB / 3.734 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00197/8.79, allocations: 0.8228 MB / 3.735 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/8.79, allocations: 10.98 kB / 3.735 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/8.791, allocations: 213.1 kB / 3.736 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/8.792, allocations: 152.2 kB / 3.736 GB, free: 28.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009649/8.793, allocations: 0.7659 MB / 3.736 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008157/8.794, allocations: 115.6 kB / 3.737 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/8.794, allocations: 34.17 kB / 3.737 GB, free: 27.62 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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005011/8.794, allocations: 297.3 kB / 3.737 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/8.794, allocations: 70.09 kB / 3.737 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/8.798, allocations: 3.084 MB / 3.74 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.278e-05/8.798, allocations: 40.03 kB / 3.74 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/8.798, allocations: 3.609 kB / 3.74 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/8.798, allocations: 3.625 kB / 3.74 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/8.799, allocations: 1.484 MB / 3.741 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/8.799, allocations: 0 / 3.741 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/8.799, allocations: 86.84 kB / 3.741 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002685/8.802, allocations: 1.245 MB / 3.743 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/8.802, allocations: 19.59 kB / 3.743 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/8.804, allocations: 1.5 MB / 3.744 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/8.804, allocations: 0 / 3.744 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/8.806, allocations: 2.083 MB / 3.746 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005729/8.807, allocations: 337 kB / 3.747 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/8.807, allocations: 12 kB / 3.747 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/8.807, allocations: 81.66 kB / 3.747 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/8.808, allocations: 51.27 kB / 3.747 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/8.808, allocations: 23 kB / 3.747 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005042/8.808, allocations: 479.9 kB / 3.747 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/8.808, allocations: 0 / 3.747 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005592/8.814, allocations: 1.442 MB / 3.749 GB, free: 20.22 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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01112/8.825, allocations: 4.021 MB / 3.752 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003459/8.828, allocations: 1.419 MB / 3.754 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/8.828, allocations: 0 / 3.754 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009597/8.829, allocations: 0.8123 MB / 3.755 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/8.831, allocations: 308.8 kB / 3.755 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006961/8.838, allocations: 7.264 MB / 3.762 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/8.838, allocations: 1.165 MB / 3.763 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001037/8.839, allocations: 0.6618 MB / 3.764 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/8.84, allocations: 418 kB / 3.764 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/8.84, allocations: 0 / 3.764 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3844/9.224, allocations: 55.02 MB / 3.818 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/9.225, allocations: 272.7 kB / 3.818 GB, free: 56.13 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.972/13.2, allocations: 2.906 kB / 3.818 GB, free: 56.13 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat