Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.001394/0.001395, allocations: 177 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.54/1.54, allocations: 223.2 MB / 241 MB, free: 10.17 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.001031/0.001031, allocations: 91.75 kB / 292.1 MB, free: 10.71 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.4306/0.4306, allocations: 44.21 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3882, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.518/6.907, allocations: 2.787 GB / 3.297 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/6.907, allocations: 96.52 kB / 3.297 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.713/8.62, allocations: 444.8 MB / 3.731 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.726e-06/8.62, allocations: 2.406 kB / 3.731 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001/8.62, allocations: 30.28 kB / 3.731 GB, free: 58.5 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.009097/8.63, allocations: 1.856 MB / 3.733 GB, free: 57.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/8.63, allocations: 10.16 kB / 3.733 GB, free: 57.76 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004248/8.63, allocations: 101 kB / 3.733 GB, free: 57.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/8.633, allocations: 326.1 kB / 3.733 GB, free: 57.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/8.635, allocations: 0.5675 MB / 3.734 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/8.635, allocations: 50.28 kB / 3.734 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/8.635, allocations: 54 kB / 3.734 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/8.638, allocations: 1.021 MB / 3.735 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/8.638, allocations: 7.891 kB / 3.735 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/8.638, allocations: 24.75 kB / 3.735 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-05/8.638, allocations: 20.84 kB / 3.735 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00298/8.641, allocations: 0.9445 MB / 3.736 GB, free: 57.24 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.007305/8.649, allocations: 4.765 MB / 3.741 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/8.652, allocations: 0.832 MB / 3.742 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04535/8.697, allocations: 24.16 MB / 3.765 GB, free: 39.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/8.697, allocations: 41.5 kB / 3.765 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 2.886e-06/8.697, allocations: 3.094 kB / 3.765 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.006334/8.704, allocations: 1.696 MB / 3.767 GB, free: 39.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/8.704, allocations: 109.8 kB / 3.767 GB, free: 38.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/8.704, allocations: 469.5 kB / 3.767 GB, free: 38.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/8.704, allocations: 35.86 kB / 3.767 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/8.705, allocations: 333 kB / 3.768 GB, free: 38.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/8.705, allocations: 147.4 kB / 3.768 GB, free: 38.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/8.705, allocations: 11 kB / 3.768 GB, free: 38.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001393/8.705, allocations: 374.4 kB / 3.768 GB, free: 38.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/8.706, allocations: 250.6 kB / 3.769 GB, free: 38.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/8.706, allocations: 443 kB / 3.769 GB, free: 38.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/8.707, allocations: 293.7 kB / 3.769 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/8.707, allocations: 3.562 kB / 3.769 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001832/8.709, allocations: 0.8554 MB / 3.77 GB, free: 37.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005784/8.709, allocations: 2.086 MB / 3.772 GB, free: 35.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/8.709, allocations: 3.062 kB / 3.772 GB, free: 35.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/8.711, allocations: 297.9 kB / 3.772 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/8.712, allocations: 144.7 kB / 3.773 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/8.713, allocations: 0.7993 MB / 3.773 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009069/8.714, allocations: 123 kB / 3.773 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/8.714, allocations: 33.66 kB / 3.773 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/8.714, allocations: 10.16 kB / 3.773 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00218/8.716, allocations: 0.7885 MB / 3.774 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/8.716, allocations: 5.875 kB / 3.774 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/8.717, allocations: 211.5 kB / 3.774 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/8.718, allocations: 156.6 kB / 3.775 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008047/8.718, allocations: 0.7489 MB / 3.775 GB, free: 34.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008216/8.719, allocations: 107 kB / 3.775 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/8.719, allocations: 36.12 kB / 3.775 GB, free: 34.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (56): * Single equations (assignments): 55 * 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.000595/8.72, allocations: 285.9 kB / 3.776 GB, free: 34.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/8.72, allocations: 63.16 kB / 3.776 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/8.724, allocations: 2.912 MB / 3.779 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/8.724, allocations: 35.28 kB / 3.779 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/8.724, allocations: 0 / 3.779 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/8.724, allocations: 5.016 kB / 3.779 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/8.726, allocations: 1.385 MB / 3.78 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/8.726, allocations: 0 / 3.78 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/8.726, allocations: 105.2 kB / 3.78 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/8.729, allocations: 1.057 MB / 3.781 GB, free: 33.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/8.729, allocations: 12.91 kB / 3.781 GB, free: 33.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/8.73, allocations: 1.441 MB / 3.783 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/8.73, allocations: 3.969 kB / 3.783 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/8.733, allocations: 1.894 MB / 3.784 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000668/8.734, allocations: 360.2 kB / 3.785 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/8.734, allocations: 12.88 kB / 3.785 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/8.735, allocations: 89.75 kB / 3.785 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/8.735, allocations: 55.31 kB / 3.785 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/8.735, allocations: 20.31 kB / 3.785 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007498/8.736, allocations: 0.5571 MB / 3.785 GB, free: 32.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/8.736, allocations: 0 / 3.785 GB, free: 32.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008629/8.744, allocations: 1.437 MB / 3.787 GB, free: 32.41 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: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01228/8.756, allocations: 3.841 MB / 3.791 GB, free: 31.35 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003323/8.76, allocations: 1.304 MB / 3.792 GB, free: 31.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/8.76, allocations: 3.094 kB / 3.792 GB, free: 31.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/8.761, allocations: 0.7146 MB / 3.793 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/8.763, allocations: 333.6 kB / 3.793 GB, free: 31.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009328/8.772, allocations: 7.275 MB / 3.8 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/8.773, allocations: 1.145 MB / 3.801 GB, free: 25.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001159/8.774, allocations: 0.6457 MB / 3.802 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/8.774, allocations: 409.5 kB / 3.802 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of SimCode: time 1.202e-06/8.774, allocations: 2.406 kB / 3.802 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09934/8.874, allocations: 54.77 MB / 3.856 GB, free: 17.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/8.874, allocations: 283.9 kB / 3.856 GB, free: 17.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.791/13.66, allocations: 7.938 kB / 3.856 GB, free: 17.26 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat