Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.001216/0.001216, allocations: 177.9 kB / 17.06 MB, free: 5.098 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.589/1.589, allocations: 223.2 MB / 241 MB, free: 10.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 86.2 kB / 292.1 MB, free: 10.65 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4197/0.4197, allocations: 44.22 MB / 387.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004957, allocations: 12 kB / 460 MB, free: 1.379 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5242/0.5248, allocations: 61.9 MB / 0.5096 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.834/8.359, allocations: 2.788 GB / 3.297 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/8.36, allocations: 96.28 kB / 3.297 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.516/9.875, allocations: 445.8 MB / 3.733 GB, free: 57.97 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/9.875, allocations: 0 / 3.733 GB, free: 57.97 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.915e-05/9.875, allocations: 20.72 kB / 3.733 GB, free: 57.97 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006999/9.882, allocations: 1.869 MB / 3.735 GB, free: 57.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/9.882, allocations: 9.625 kB / 3.735 GB, free: 57.19 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/9.883, allocations: 105 kB / 3.735 GB, free: 57.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/9.885, allocations: 327.8 kB / 3.735 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/9.887, allocations: 0.5801 MB / 3.736 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/9.887, allocations: 48.19 kB / 3.736 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.81e-05/9.887, allocations: 56.53 kB / 3.736 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/9.889, allocations: 1.018 MB / 3.737 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/9.889, allocations: 10.48 kB / 3.737 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/9.889, allocations: 27.59 kB / 3.737 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/9.889, allocations: 22 kB / 3.737 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/9.892, allocations: 0.933 MB / 3.738 GB, free: 56.65 MB / 0.5261 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.00635/9.898, allocations: 4.842 MB / 3.742 GB, free: 53.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/9.901, allocations: 0.8375 MB / 3.743 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0434/9.944, allocations: 24.08 MB / 3.767 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/9.944, allocations: 45.41 kB / 3.767 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 2.274e-06/9.944, allocations: 0 / 3.767 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.007011/9.952, allocations: 1.872 MB / 3.769 GB, free: 38.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/9.952, allocations: 109.6 kB / 3.769 GB, free: 38.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/9.952, allocations: 475.9 kB / 3.769 GB, free: 38.28 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.185e-05/9.953, allocations: 36.3 kB / 3.769 GB, free: 38.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/9.953, allocations: 339.5 kB / 3.769 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/9.953, allocations: 161.9 kB / 3.77 GB, free: 37.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/9.953, allocations: 12.84 kB / 3.77 GB, free: 37.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001079/9.953, allocations: 370.7 kB / 3.77 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006373/9.954, allocations: 268.9 kB / 3.77 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007965/9.955, allocations: 451.6 kB / 3.771 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/9.955, allocations: 300.2 kB / 3.771 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/9.955, allocations: 0 / 3.771 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001929/9.957, allocations: 0.9017 MB / 3.772 GB, free: 37.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004099/9.958, allocations: 2.005 MB / 3.774 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/9.958, allocations: 3.594 kB / 3.774 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/9.96, allocations: 475.9 kB / 3.774 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/9.961, allocations: 145.3 kB / 3.774 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/9.962, allocations: 0.8463 MB / 3.775 GB, free: 34.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/9.963, allocations: 133.2 kB / 3.775 GB, free: 34.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-05/9.963, allocations: 34.5 kB / 3.775 GB, free: 34.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/9.963, allocations: 7.859 kB / 3.775 GB, free: 34.71 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001971/9.965, allocations: 0.832 MB / 3.776 GB, free: 34.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/9.965, allocations: 2.75 kB / 3.776 GB, free: 34.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/9.966, allocations: 212.1 kB / 3.776 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/9.967, allocations: 158.3 kB / 3.777 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/9.968, allocations: 0.7636 MB / 3.777 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/9.969, allocations: 120.7 kB / 3.777 GB, free: 34.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/9.969, allocations: 37.02 kB / 3.777 GB, free: 34.13 MB / 0.5261 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.0004571/9.969, allocations: 277 kB / 3.778 GB, free: 33.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/9.97, allocations: 63.97 kB / 3.778 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/9.973, allocations: 3.089 MB / 3.781 GB, free: 33.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/9.973, allocations: 44.11 kB / 3.781 GB, free: 33.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/9.973, allocations: 0 / 3.781 GB, free: 33.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/9.973, allocations: 7.688 kB / 3.781 GB, free: 33.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/9.975, allocations: 1.479 MB / 3.782 GB, free: 33.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/9.975, allocations: 3.781 kB / 3.782 GB, free: 33.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/9.976, allocations: 90.81 kB / 3.782 GB, free: 33.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/9.979, allocations: 1.244 MB / 3.784 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/9.979, allocations: 13.95 kB / 3.784 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/9.98, allocations: 1.498 MB / 3.785 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/9.98, allocations: 1.406 kB / 3.785 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/9.983, allocations: 2.088 MB / 3.787 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006104/9.984, allocations: 330 kB / 3.787 GB, free: 32.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/9.984, allocations: 13.78 kB / 3.787 GB, free: 32.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006985/9.985, allocations: 82.55 kB / 3.787 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/9.985, allocations: 51.58 kB / 3.788 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/9.985, allocations: 21.8 kB / 3.788 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006445/9.986, allocations: 485.6 kB / 3.788 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.603e-06/9.986, allocations: 0 / 3.788 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00656/9.992, allocations: 1.437 MB / 3.789 GB, free: 31.86 MB / 0.5261 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.01169/10, allocations: 4.03 MB / 3.793 GB, free: 30.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003696/10.01, allocations: 1.419 MB / 3.795 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/10.01, allocations: 3.938 kB / 3.795 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/10.01, allocations: 0.8086 MB / 3.796 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/10.01, allocations: 335.4 kB / 3.796 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008766/10.02, allocations: 7.244 MB / 3.803 GB, free: 25.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/10.02, allocations: 1.169 MB / 3.804 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001196/10.02, allocations: 0.6608 MB / 3.805 GB, free: 24.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/10.02, allocations: 421.3 kB / 3.805 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of SimCode: time 7.92e-07/10.02, allocations: 0 / 3.805 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09542/10.12, allocations: 55.14 MB / 3.859 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/10.12, allocations: 272.6 kB / 3.859 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.263/14.38, allocations: 0 / 3.859 GB, free: 13.73 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat