Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.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.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",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.001131/0.001131, allocations: 169.9 kB / 8.74 MB, free: 340 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.001182/0.001182, allocations: 92.27 kB / 281.6 MB, free: 5.309 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.2866/0.2866, allocations: 44.14 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.174e-05, allocations: 0 / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1776, allocations: 61.91 MB / 0.4948 GB, free: 1.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.115/8.293, allocations: 2.769 GB / 3.264 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/8.293, allocations: 81.84 kB / 3.264 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.104/11.4, allocations: 0.8202 GB / 4.084 GB, free: 48.92 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.743e-06/11.4, allocations: 2.688 kB / 4.084 GB, free: 48.92 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.372e-05/11.4, allocations: 42.73 kB / 4.084 GB, free: 48.91 MB / 0.5417 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.009761/11.41, allocations: 2.598 MB / 4.087 GB, free: 47.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/11.41, allocations: 10.45 kB / 4.087 GB, free: 47.72 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/11.41, allocations: 469.9 kB / 4.087 GB, free: 47.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/11.41, allocations: 0.9926 MB / 4.088 GB, free: 47.31 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-05/11.41, allocations: 52.59 kB / 4.088 GB, free: 47.31 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/11.41, allocations: 71.88 kB / 4.088 GB, free: 47.31 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00187/11.41, allocations: 1.157 MB / 4.09 GB, free: 47.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/11.42, allocations: 1.391 MB / 4.091 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/11.42, allocations: 12.17 kB / 4.091 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/11.42, allocations: 7.625 kB / 4.091 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.628e-05/11.42, allocations: 54.64 kB / 4.091 GB, free: 46.93 MB / 0.5417 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.267/11.68, allocations: 144.7 MB / 4.232 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/11.68, allocations: 0.5745 MB / 4.233 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006074/11.69, allocations: 358.2 kB / 4.233 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4386/12.12, allocations: 8.166 MB / 4.241 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/12.12, allocations: 45.39 kB / 4.241 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=81): time 2.174e-06/12.12, allocations: 0 / 4.241 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.005318/12.13, allocations: 1.466 MB / 4.243 GB, free: 113 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/12.13, allocations: 112.1 kB / 4.243 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/12.13, allocations: 0.6988 MB / 4.244 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.717e-05/12.13, allocations: 26.5 kB / 4.244 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000537/12.13, allocations: 0.6787 MB / 4.244 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/12.13, allocations: 266 kB / 4.244 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/12.13, allocations: 0 / 4.244 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/12.13, allocations: 349.5 kB / 4.245 GB, free: 112 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/12.13, allocations: 331.4 kB / 4.245 GB, free: 112 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/12.13, allocations: 0.6941 MB / 4.246 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/12.13, allocations: 438.3 kB / 4.246 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/12.13, allocations: 3.781 kB / 4.246 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003803/12.14, allocations: 1.429 MB / 4.248 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009201/12.14, allocations: 4.621 MB / 4.252 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/12.14, allocations: 11.91 kB / 4.252 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/12.14, allocations: 0.497 MB / 4.253 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/12.14, allocations: 219.8 kB / 4.253 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/12.15, allocations: 2.884 MB / 4.256 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/12.15, allocations: 237.5 kB / 4.256 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/12.15, allocations: 75.39 kB / 4.256 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/12.15, allocations: 4.812 kB / 4.256 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003592/12.15, allocations: 1.223 MB / 4.257 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/12.15, allocations: 10.5 kB / 4.257 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/12.15, allocations: 447.9 kB / 4.258 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007536/12.15, allocations: 249.8 kB / 4.258 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/12.16, allocations: 2.645 MB / 4.26 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/12.16, allocations: 199.6 kB / 4.261 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/12.16, allocations: 65.89 kB / 4.261 GB, free: 102.3 MB / 0.6042 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 (Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,Source.medium.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.0004268/12.16, allocations: 141.9 kB / 4.261 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00271/12.16, allocations: 0.9536 MB / 4.262 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/12.16, allocations: 105.2 kB / 4.262 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005318/12.17, allocations: 3.001 MB / 4.265 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.46e-05/12.17, allocations: 35.14 kB / 4.265 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/12.17, allocations: 0 / 4.265 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/12.17, allocations: 5.875 kB / 4.265 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006878/12.17, allocations: 4.716 MB / 4.269 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/12.17, allocations: 0.6094 kB / 4.269 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/12.17, allocations: 87.64 kB / 4.269 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002793/12.18, allocations: 1.397 MB / 4.271 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.066e-05/12.18, allocations: 8.031 kB / 4.271 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003826/12.18, allocations: 4.062 MB / 4.275 GB, free: 98.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/12.18, allocations: 0 / 4.275 GB, free: 98.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/12.18, allocations: 2.384 MB / 4.277 GB, free: 98.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007807/12.19, allocations: 348.6 kB / 4.277 GB, free: 98.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/12.19, allocations: 6.281 kB / 4.277 GB, free: 98.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/12.19, allocations: 177.7 kB / 4.278 GB, free: 98.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/12.19, allocations: 75.03 kB / 4.278 GB, free: 98.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/12.19, allocations: 34.08 kB / 4.278 GB, free: 98.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007337/12.19, allocations: 0.5646 MB / 4.278 GB, free: 98.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/12.19, allocations: 1.562 kB / 4.278 GB, free: 98.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007494/12.2, allocations: 1.874 MB / 4.28 GB, free: 97.91 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,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 (49): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01348/12.21, allocations: 4.541 MB / 4.285 GB, free: 96.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005581/12.21, allocations: 1.78 MB / 4.286 GB, free: 96.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/12.21, allocations: 0 / 4.286 GB, free: 96.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/12.22, allocations: 0.7777 MB / 4.287 GB, free: 96.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/12.22, allocations: 484.3 kB / 4.288 GB, free: 96.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009979/12.23, allocations: 2.723 MB / 4.29 GB, free: 96.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008139/12.23, allocations: 1.345 MB / 4.292 GB, free: 95.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002188/12.23, allocations: 1.11 MB / 4.293 GB, free: 95.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000578/12.23, allocations: 0.5576 MB / 4.293 GB, free: 95.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.565e-06/12.23, allocations: 0 / 4.293 GB, free: 95.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/12.35, allocations: 67.8 MB / 4.359 GB, free: 92.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/12.35, allocations: 196.5 kB / 4.36 GB, free: 92.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.699/17.05, allocations: 3.438 kB / 4.36 GB, free: 92.15 MB / 0.6042 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat