Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.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.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",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.002343/0.002342, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001194/0.001194, allocations: 82.72 kB / 267.5 MB, free: 14.05 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.3426/0.3426, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.775e-05/3.799e-05, allocations: 0 / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 58.86 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.268/8.406, allocations: 2.764 GB / 3.237 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/8.407, allocations: 84.66 kB / 3.237 GB, free: 80.77 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.342/12.75, allocations: 0.8187 GB / 4.056 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.405e-06/12.75, allocations: 3.938 kB / 4.056 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001633/12.75, allocations: 39.88 kB / 4.056 GB, free: 51.31 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01228/12.76, allocations: 2.583 MB / 4.059 GB, free: 49.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/12.76, allocations: 10.45 kB / 4.059 GB, free: 49.96 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006866/12.76, allocations: 189.2 kB / 4.059 GB, free: 49.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005164/12.77, allocations: 466 kB / 4.059 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/12.77, allocations: 0.9952 MB / 4.06 GB, free: 49.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/12.77, allocations: 103.7 kB / 4.06 GB, free: 49.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003533/12.77, allocations: 123.2 kB / 4.06 GB, free: 49.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00708/12.78, allocations: 1.948 MB / 4.062 GB, free: 48.22 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.374e-05/12.78, allocations: 11.12 kB / 4.062 GB, free: 48.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002902/12.78, allocations: 55.75 kB / 4.062 GB, free: 48.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/12.78, allocations: 55.92 kB / 4.062 GB, free: 48.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006498/12.79, allocations: 1.585 MB / 4.064 GB, free: 47.69 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.0171/12.8, allocations: 9.45 MB / 4.073 GB, free: 40.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004311/12.81, allocations: 1.069 MB / 4.074 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/12.81, allocations: 407.6 kB / 4.075 GB, free: 39.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02641/12.83, allocations: 8.177 MB / 4.083 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/12.83, allocations: 45.84 kB / 4.083 GB, free: 34.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=91): time 3.065e-06/12.83, allocations: 2.875 kB / 4.083 GB, free: 34.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=91): time 0.01033/12.84, allocations: 1.951 MB / 4.085 GB, free: 33.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/12.84, allocations: 116.3 kB / 4.085 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/12.85, allocations: 0.7469 MB / 4.085 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003219/12.85, allocations: 45.39 kB / 4.085 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/12.85, allocations: 0.6407 MB / 4.086 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/12.85, allocations: 315.6 kB / 4.086 GB, free: 32.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/12.85, allocations: 23.38 kB / 4.086 GB, free: 32.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001142/12.85, allocations: 358.4 kB / 4.087 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009837/12.85, allocations: 326.1 kB / 4.087 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/12.85, allocations: 0.7013 MB / 4.088 GB, free: 31.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/12.85, allocations: 428 kB / 4.088 GB, free: 31.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/12.85, allocations: 3.906 kB / 4.088 GB, free: 31.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005536/12.86, allocations: 1.408 MB / 4.09 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001076/12.86, allocations: 4.613 MB / 4.094 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.034e-05/12.86, allocations: 10.38 kB / 4.094 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005027/12.86, allocations: 0.5201 MB / 4.095 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/12.86, allocations: 216.7 kB / 4.095 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005649/12.87, allocations: 2.711 MB / 4.097 GB, free: 23.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/12.87, allocations: 246.7 kB / 4.098 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004087/12.87, allocations: 71.89 kB / 4.098 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/12.87, allocations: 4.844 kB / 4.098 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006668/12.88, allocations: 1.35 MB / 4.099 GB, free: 22.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/12.88, allocations: 15.34 kB / 4.099 GB, free: 22.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004169/12.89, allocations: 422.1 kB / 4.099 GB, free: 22.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/12.89, allocations: 239.7 kB / 4.1 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/12.89, allocations: 2.589 MB / 4.102 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/12.89, allocations: 213 kB / 4.102 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/12.89, allocations: 70.64 kB / 4.102 GB, free: 20.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,2 8,2 8,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005188/12.89, allocations: 176 kB / 4.103 GB, free: 20.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/12.9, allocations: 112.6 kB / 4.103 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007738/12.9, allocations: 3.906 MB / 4.107 GB, free: 18.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.814e-05/12.9, allocations: 43.62 kB / 4.107 GB, free: 18.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/12.9, allocations: 0 / 4.107 GB, free: 18.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.009e-05/12.9, allocations: 6.234 kB / 4.107 GB, free: 18.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/12.91, allocations: 6.079 MB / 4.113 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/12.91, allocations: 0 / 4.113 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008972/12.92, allocations: 115.9 kB / 4.113 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004625/12.92, allocations: 1.454 MB / 4.114 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/12.92, allocations: 23.75 kB / 4.114 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00437/12.93, allocations: 3.727 MB / 4.118 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/12.93, allocations: 0 / 4.118 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004981/12.93, allocations: 2.738 MB / 4.12 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/12.93, allocations: 402.3 kB / 4.121 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/12.93, allocations: 19.95 kB / 4.121 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/12.93, allocations: 195.8 kB / 4.121 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/12.93, allocations: 85.84 kB / 4.121 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/12.93, allocations: 39.55 kB / 4.121 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001298/12.94, allocations: 0.6592 MB / 4.122 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.403e-06/12.94, allocations: 0 / 4.122 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009011/12.94, allocations: 1.948 MB / 4.124 GB, free: 2.238 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: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 10,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01736/12.96, allocations: 4.651 MB / 4.128 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01127/12.97, allocations: 1.969 MB / 4.13 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/12.97, allocations: 0 / 4.13 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003281/12.98, allocations: 0.9255 MB / 4.131 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005359/12.98, allocations: 0.5653 MB / 4.132 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/12.99, allocations: 3.089 MB / 4.135 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/13, allocations: 1.399 MB / 4.136 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/13, allocations: 0.6292 MB / 4.137 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of SimCode: time 1.914e-06/13, allocations: 0 / 4.137 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.137/18.14, allocations: 77.73 MB / 4.213 GB, free: 59.19 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat