Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.001137/0.001137, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 86.59 kB / 261.8 MB, free: 1.676 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.2427/0.2427, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.174e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.128, allocations: 58.84 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.615/8.743, allocations: 2.764 GB / 3.23 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/8.743, allocations: 89.48 kB / 3.23 GB, free: 102 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.64/10.38, allocations: 416 MB / 3.636 GB, free: 59.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.773e-06/10.38, allocations: 3.031 kB / 3.636 GB, free: 59.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.426e-05/10.38, allocations: 25.25 kB / 3.636 GB, free: 59.45 MB / 0.4948 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.007068/10.39, allocations: 1.652 MB / 3.638 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/10.39, allocations: 6.781 kB / 3.638 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/10.39, allocations: 294.8 kB / 3.638 GB, free: 58.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009843/10.39, allocations: 0.5245 MB / 3.639 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/10.39, allocations: 19.16 kB / 3.639 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/10.39, allocations: 35.7 kB / 3.639 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000833/10.4, allocations: 0.521 MB / 3.639 GB, free: 57.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008785/10.4, allocations: 0.6462 MB / 3.64 GB, free: 57.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/10.4, allocations: 0 / 3.64 GB, free: 57.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/10.4, allocations: 3.688 kB / 3.64 GB, free: 57.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/10.4, allocations: 24.34 kB / 3.64 GB, free: 57.52 MB / 0.4948 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.07495/10.47, allocations: 44.11 MB / 3.683 GB, free: 23.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007174/10.47, allocations: 376.3 kB / 3.683 GB, free: 23.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/10.47, allocations: 197.2 kB / 3.684 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04374/10.52, allocations: 24.16 MB / 3.707 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/10.52, allocations: 42.88 kB / 3.707 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 3.025e-06/10.52, allocations: 0 / 3.707 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.00327/10.52, allocations: 0.8255 MB / 3.708 GB, free: 14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/10.52, allocations: 110.8 kB / 3.708 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/10.52, allocations: 369.1 kB / 3.709 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/10.52, allocations: 33.58 kB / 3.709 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/10.52, allocations: 335.7 kB / 3.709 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/10.52, allocations: 130.1 kB / 3.709 GB, free: 13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/10.52, allocations: 0 / 3.709 GB, free: 13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001977/10.52, allocations: 358.7 kB / 3.709 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/10.52, allocations: 145.1 kB / 3.71 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/10.52, allocations: 324.9 kB / 3.71 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/10.52, allocations: 247.8 kB / 3.71 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/10.52, allocations: 3.938 kB / 3.71 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001919/10.52, allocations: 0.681 MB / 3.711 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001158/10.53, allocations: 1.916 MB / 3.713 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/10.53, allocations: 4 kB / 3.713 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007936/10.53, allocations: 177.5 kB / 3.713 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/10.53, allocations: 119.8 kB / 3.713 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/10.53, allocations: 0.7705 MB / 3.714 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009383/10.53, allocations: 115.3 kB / 3.714 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/10.53, allocations: 35.98 kB / 3.714 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/10.53, allocations: 4 kB / 3.714 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001609/10.53, allocations: 0.5631 MB / 3.714 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/10.53, allocations: 4 kB / 3.714 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007891/10.53, allocations: 168.2 kB / 3.715 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/10.53, allocations: 131.8 kB / 3.715 GB, free: 7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007064/10.53, allocations: 0.7123 MB / 3.715 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008215/10.53, allocations: 95.58 kB / 3.715 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/10.53, allocations: 32 kB / 3.715 GB, free: 6.137 MB / 0.5105 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 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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.0002453/10.53, allocations: 120.8 kB / 3.716 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001575/10.54, allocations: 0.5171 MB / 3.716 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/10.54, allocations: 55.3 kB / 3.716 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/10.54, allocations: 2.339 MB / 3.718 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.383e-05/10.54, allocations: 43.94 kB / 3.718 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/10.54, allocations: 0 / 3.718 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/10.54, allocations: 3.984 kB / 3.718 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/10.54, allocations: 1.109 MB / 3.72 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/10.54, allocations: 7.891 kB / 3.72 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/10.54, allocations: 67.89 kB / 3.72 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/10.54, allocations: 0.7398 MB / 3.72 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/10.54, allocations: 4 kB / 3.72 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3883/10.93, allocations: 1.326 MB / 3.722 GB, free: 79.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/10.93, allocations: 0.5312 kB / 3.722 GB, free: 79.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/10.93, allocations: 1.627 MB / 3.723 GB, free: 79.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006655/10.93, allocations: 269.1 kB / 3.723 GB, free: 79.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.455e-05/10.93, allocations: 1.688 kB / 3.723 GB, free: 79.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/10.93, allocations: 67.39 kB / 3.724 GB, free: 79.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/10.93, allocations: 39.91 kB / 3.724 GB, free: 79.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/10.93, allocations: 18.11 kB / 3.724 GB, free: 79.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006076/10.94, allocations: 344 kB / 3.724 GB, free: 79.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/10.94, allocations: 1.969 kB / 3.724 GB, free: 79.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007654/10.94, allocations: 1.308 MB / 3.725 GB, free: 79.04 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: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01492/10.96, allocations: 3.604 MB / 3.729 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002536/10.96, allocations: 0.9897 MB / 3.73 GB, free: 78.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/10.96, allocations: 0 / 3.73 GB, free: 78.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009551/10.96, allocations: 0.6036 MB / 3.73 GB, free: 78.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/10.96, allocations: 246.5 kB / 3.731 GB, free: 78.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008092/10.97, allocations: 1.964 MB / 3.732 GB, free: 77.83 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008798/10.97, allocations: 1.085 MB / 3.734 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00219/10.97, allocations: 0.7372 MB / 3.734 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/10.98, allocations: 338.1 kB / 3.735 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/10.98, allocations: 0 / 3.735 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/11.08, allocations: 45.79 MB / 3.779 GB, free: 75.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/11.08, allocations: 198 kB / 3.779 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.511/14.59, allocations: 3.438 kB / 3.779 GB, free: 75.57 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat