Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.001803/0.001803, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.501/1.501, allocations: 221.3 MB / 236 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009959/0.0009959, allocations: 86.48 kB / 287 MB, free: 276 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2876/0.2876, allocations: 44.15 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.005e-05/4.007e-05, allocations: 8.219 kB / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1631, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.892/8.056, allocations: 2.77 GB / 3.272 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/8.056, allocations: 82.66 kB / 3.272 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.607/9.663, allocations: 424.7 MB / 3.687 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.915e-06/9.663, allocations: 3.906 kB / 3.687 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.292e-05/9.663, allocations: 11.19 kB / 3.687 GB, free: 66.91 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.006487/9.669, allocations: 1.65 MB / 3.688 GB, free: 66.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/9.669, allocations: 15.38 kB / 3.688 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/9.67, allocations: 98.5 kB / 3.689 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/9.672, allocations: 299.8 kB / 3.689 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/9.673, allocations: 0.5252 MB / 3.689 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.323e-05/9.673, allocations: 47.38 kB / 3.689 GB, free: 65.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.868e-05/9.673, allocations: 51.94 kB / 3.689 GB, free: 65.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/9.675, allocations: 0.9502 MB / 3.69 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/9.675, allocations: 3.062 kB / 3.69 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/9.675, allocations: 24.53 kB / 3.69 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/9.675, allocations: 22.25 kB / 3.69 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/9.677, allocations: 0.7811 MB / 3.691 GB, free: 65.67 MB / 0.5261 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.004615/9.681, allocations: 4.66 MB / 3.696 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/9.683, allocations: 0.6774 MB / 3.696 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/9.683, allocations: 217 kB / 3.697 GB, free: 62.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04128/9.725, allocations: 24.16 MB / 3.72 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/9.725, allocations: 43.64 kB / 3.72 GB, free: 47.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 4.117e-06/9.725, allocations: 0 / 3.72 GB, free: 47.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.003327/9.728, allocations: 0.9936 MB / 3.721 GB, free: 47.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/9.728, allocations: 108.1 kB / 3.721 GB, free: 47.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006163/9.729, allocations: 402.9 kB / 3.722 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/9.729, allocations: 33.39 kB / 3.722 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/9.729, allocations: 315.5 kB / 3.722 GB, free: 47.19 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/9.729, allocations: 154.7 kB / 3.722 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/9.729, allocations: 7.312 kB / 3.722 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001016/9.729, allocations: 363.6 kB / 3.723 GB, free: 46.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/9.73, allocations: 161.7 kB / 3.723 GB, free: 46.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/9.73, allocations: 318.9 kB / 3.723 GB, free: 46.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/9.73, allocations: 205 kB / 3.723 GB, free: 46.58 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/9.73, allocations: 2.516 kB / 3.723 GB, free: 46.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001263/9.732, allocations: 0.6516 MB / 3.724 GB, free: 46.51 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004253/9.732, allocations: 1.922 MB / 3.726 GB, free: 44.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/9.732, allocations: 3.906 kB / 3.726 GB, free: 44.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007414/9.733, allocations: 177.2 kB / 3.726 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/9.733, allocations: 125.8 kB / 3.726 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006874/9.734, allocations: 0.7237 MB / 3.727 GB, free: 43.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007509/9.735, allocations: 110.2 kB / 3.727 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.68e-05/9.735, allocations: 35.19 kB / 3.727 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/9.735, allocations: 5.375 kB / 3.727 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/9.736, allocations: 0.5654 MB / 3.727 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/9.736, allocations: 7 kB / 3.727 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007841/9.737, allocations: 171.8 kB / 3.728 GB, free: 43.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/9.737, allocations: 122.8 kB / 3.728 GB, free: 43.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005396/9.738, allocations: 0.7141 MB / 3.728 GB, free: 43.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006787/9.738, allocations: 99.95 kB / 3.728 GB, free: 43.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/9.738, allocations: 28.47 kB / 3.729 GB, free: 43.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001828/9.739, allocations: 144.6 kB / 3.729 GB, free: 43.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/9.739, allocations: 59.34 kB / 3.729 GB, free: 43.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/9.741, allocations: 2.899 MB / 3.732 GB, free: 42.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.479e-05/9.742, allocations: 39.92 kB / 3.732 GB, free: 42.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/9.742, allocations: 3.719 kB / 3.732 GB, free: 42.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/9.742, allocations: 3.562 kB / 3.732 GB, free: 42.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/9.743, allocations: 1.429 MB / 3.733 GB, free: 42.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/9.743, allocations: 0 / 3.733 GB, free: 42.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/9.743, allocations: 92.41 kB / 3.733 GB, free: 42.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/9.744, allocations: 0.7462 MB / 3.734 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/9.744, allocations: 14.61 kB / 3.734 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009066/9.745, allocations: 1.246 MB / 3.735 GB, free: 42.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/9.745, allocations: 0 / 3.735 GB, free: 42.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/9.747, allocations: 1.808 MB / 3.737 GB, free: 41.74 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/9.747, allocations: 317.1 kB / 3.737 GB, free: 41.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/9.747, allocations: 9.125 kB / 3.737 GB, free: 41.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/9.748, allocations: 80.55 kB / 3.737 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/9.748, allocations: 51.78 kB / 3.737 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/9.748, allocations: 25.27 kB / 3.737 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004162/9.748, allocations: 413.9 kB / 3.738 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/9.748, allocations: 3.375 kB / 3.738 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005468/9.754, allocations: 1.352 MB / 3.739 GB, free: 41.24 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01058/9.765, allocations: 3.7 MB / 3.743 GB, free: 40.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002648/9.767, allocations: 1.124 MB / 3.744 GB, free: 40.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/9.767, allocations: 320 / 3.744 GB, free: 40.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009794/9.768, allocations: 0.73 MB / 3.744 GB, free: 40.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/9.77, allocations: 305.5 kB / 3.745 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008182/9.778, allocations: 2.238 MB / 3.747 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008659/9.779, allocations: 1.149 MB / 3.748 GB, free: 38.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001724/9.781, allocations: 0.6889 MB / 3.749 GB, free: 38.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006826/9.782, allocations: 383.9 kB / 3.749 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of SimCode: time 2.605e-06/9.782, allocations: 0 / 3.749 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09567/9.878, allocations: 56 MB / 3.804 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/9.878, allocations: 242.6 kB / 3.804 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.913/13.79, allocations: 0 / 3.804 GB, free: 23.51 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat