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: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Source.ports.2..m_flow|Source.ports.2..p|Source.ports.2..h_outflow|Source.ports.3..m_flow|Source.ports.3..p|Source.ports.3..h_outflow|Source.ports.4..m_flow|Source.ports.4..p|Source.ports.4..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Sink.ports.2..m_flow|Sink.ports.2..p|Sink.ports.2..h_outflow|Sink.ports.3..m_flow|Sink.ports.3..p|Sink.ports.3..h_outflow|Sink.ports.4..m_flow|Sink.ports.4..p|Sink.ports.4..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|downstreamPressure.y|pumpPolynomial.port_b.m_flow|pumpPolynomial.port_b.p|pumpPolynomial.port_b.h_outflow|pumpQuadraticLinear.port_b.m_flow|pumpQuadraticLinear.port_b.p|pumpQuadraticLinear.port_b.h_outflow|pumpLinear.port_b.m_flow|pumpLinear.port_b.p|pumpLinear.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Source.ports.2..m_flow|Source.ports.2..p|Source.ports.2..h_outflow|Source.ports.3..m_flow|Source.ports.3..p|Source.ports.3..h_outflow|Source.ports.4..m_flow|Source.ports.4..p|Source.ports.4..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Sink.ports.2..m_flow|Sink.ports.2..p|Sink.ports.2..h_outflow|Sink.ports.3..m_flow|Sink.ports.3..p|Sink.ports.3..h_outflow|Sink.ports.4..m_flow|Sink.ports.4..p|Sink.ports.4..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|downstreamPressure.y|pumpPolynomial.port_b.m_flow|pumpPolynomial.port_b.p|pumpPolynomial.port_b.h_outflow|pumpQuadraticLinear.port_b.m_flow|pumpQuadraticLinear.port_b.p|pumpQuadraticLinear.port_b.h_outflow|pumpLinear.port_b.m_flow|pumpLinear.port_b.p|pumpLinear.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002167/0.002173, allocations: 181.5 kB / 8.365 MB, free: 0.7109 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.979/1.979, allocations: 205.3 MB / 214.1 MB, free: 14.07 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 82.55 kB / 262.1 MB, free: 13.85 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2913/0.2913, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.66e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3939, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.998/8.392, allocations: 2.764 GB / 3.23 GB, free: 25.54 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/8.392, allocations: 84.45 kB / 3.23 GB, free: 25.49 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 3.961/12.35, allocations: 0.8114 GB / 4.041 GB, free: 5.469 MB / 0.5265 GB Notification: Performance of FrontEnd: time 1.733e-06/12.35, allocations: 0 / 4.041 GB, free: 5.469 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0001317/12.35, allocations: 36 kB / 4.041 GB, free: 5.434 MB / 0.5265 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.0119/12.37, allocations: 2.588 MB / 4.044 GB, free: 2.809 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/12.37, allocations: 8.031 kB / 4.044 GB, free: 2.801 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004845/12.37, allocations: 469.7 kB / 4.044 GB, free: 2.34 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/12.37, allocations: 0.9874 MB / 4.045 GB, free: 1.328 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/12.37, allocations: 53.03 kB / 4.045 GB, free: 1.277 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/12.37, allocations: 72 kB / 4.045 GB, free: 1.207 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003476/12.38, allocations: 1.153 MB / 4.046 GB, free: 52 kB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3923/12.77, allocations: 1.4 MB / 4.048 GB, free: 46.78 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.714e-05/12.77, allocations: 3.812 kB / 4.048 GB, free: 46.78 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/12.77, allocations: 8.531 kB / 4.048 GB, free: 46.78 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/12.77, allocations: 56.02 kB / 4.048 GB, free: 46.77 MB / 0.5265 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.46/13.23, allocations: 144.7 MB / 4.189 GB, free: 19.8 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/13.23, allocations: 0.5684 MB / 4.19 GB, free: 19.77 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/13.23, allocations: 360.9 kB / 4.19 GB, free: 19.76 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03493/13.27, allocations: 8.183 MB / 4.198 GB, free: 30.52 MB / 0.6046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.272e-05/13.27, allocations: 46.81 kB / 4.198 GB, free: 30.48 MB / 0.6046 GB Notification: Performance of pre-optimization done (n=81): time 5.28e-06/13.27, allocations: 0 / 4.198 GB, free: 30.48 MB / 0.6046 GB Notification: Performance of matching and sorting (n=81): time 0.01044/13.28, allocations: 1.461 MB / 4.199 GB, free: 30.32 MB / 0.6046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/13.28, allocations: 114.1 kB / 4.2 GB, free: 30.2 MB / 0.6046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/13.28, allocations: 0.7041 MB / 4.2 GB, free: 30.04 MB / 0.6046 GB Notification: Performance of collectPreVariables (initialization): time 0.0002783/13.28, allocations: 25.7 kB / 4.2 GB, free: 30.01 MB / 0.6046 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006988/13.28, allocations: 0.6755 MB / 4.201 GB, free: 29.67 MB / 0.6046 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004954/13.28, allocations: 267.3 kB / 4.201 GB, free: 29.53 MB / 0.6046 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/13.28, allocations: 0 / 4.201 GB, free: 29.53 MB / 0.6046 GB Notification: Performance of setup shared object (initialization): time 0.0002691/13.28, allocations: 359.8 kB / 4.201 GB, free: 29.22 MB / 0.6046 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/13.28, allocations: 325.7 kB / 4.202 GB, free: 29.22 MB / 0.6046 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/13.29, allocations: 0.6965 MB / 4.202 GB, free: 28.77 MB / 0.6046 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/13.29, allocations: 441.8 kB / 4.203 GB, free: 28.74 MB / 0.6046 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/13.29, allocations: 3.719 kB / 4.203 GB, free: 28.74 MB / 0.6046 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.007616/13.3, allocations: 1.367 MB / 4.204 GB, free: 28.62 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 0.002783/13.3, allocations: 4.617 MB / 4.209 GB, free: 23.77 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/13.3, allocations: 10.22 kB / 4.209 GB, free: 23.77 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004356/13.3, allocations: 0.5014 MB / 4.209 GB, free: 23.73 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/13.31, allocations: 216.8 kB / 4.209 GB, free: 23.73 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008648/13.31, allocations: 2.888 MB / 4.212 GB, free: 21.64 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004174/13.32, allocations: 232.9 kB / 4.213 GB, free: 21.6 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00035/13.32, allocations: 78.38 kB / 4.213 GB, free: 21.59 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/13.32, allocations: 8.375 kB / 4.213 GB, free: 21.59 MB / 0.6046 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00963/13.33, allocations: 1.226 MB / 4.214 GB, free: 21.52 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.221e-05/13.33, allocations: 9.719 kB / 4.214 GB, free: 21.52 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005096/13.33, allocations: 405.3 kB / 4.214 GB, free: 21.48 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/13.34, allocations: 249.3 kB / 4.214 GB, free: 21.48 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007213/13.34, allocations: 2.627 MB / 4.217 GB, free: 19.4 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/13.35, allocations: 193.7 kB / 4.217 GB, free: 19.36 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/13.35, allocations: 69.03 kB / 4.217 GB, free: 19.36 MB / 0.6046 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.0006637/13.35, allocations: 148.3 kB / 4.217 GB, free: 19.25 MB / 0.6046 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005456/13.35, allocations: 106.8 kB / 4.217 GB, free: 19.2 MB / 0.6046 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009623/13.36, allocations: 3.004 MB / 4.22 GB, free: 18.91 MB / 0.6046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.747e-05/13.36, allocations: 38.64 kB / 4.22 GB, free: 18.91 MB / 0.6046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/13.36, allocations: 0 / 4.22 GB, free: 18.91 MB / 0.6046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/13.36, allocations: 3.609 kB / 4.22 GB, free: 18.91 MB / 0.6046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/13.37, allocations: 4.722 MB / 4.225 GB, free: 18.09 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/13.37, allocations: 1.406 kB / 4.225 GB, free: 18.09 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009/13.37, allocations: 95.94 kB / 4.225 GB, free: 18.09 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005636/13.38, allocations: 1.39 MB / 4.227 GB, free: 18.03 MB / 0.6046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001859/13.38, allocations: 9.703 kB / 4.227 GB, free: 18.03 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007715/13.38, allocations: 4.067 MB / 4.23 GB, free: 15.88 MB / 0.6046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/13.38, allocations: 0 / 4.23 GB, free: 15.88 MB / 0.6046 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006741/13.39, allocations: 2.376 MB / 4.233 GB, free: 15.52 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/13.39, allocations: 358.9 kB / 4.233 GB, free: 15.35 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003717/13.39, allocations: 0 / 4.233 GB, free: 15.35 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003006/13.4, allocations: 176.8 kB / 4.233 GB, free: 15.33 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/13.4, allocations: 70.27 kB / 4.233 GB, free: 15.33 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/13.4, allocations: 35.41 kB / 4.233 GB, free: 15.33 MB / 0.6046 GB Notification: Performance of sorting global known variables: time 0.001591/13.4, allocations: 0.5674 MB / 4.234 GB, free: 15.22 MB / 0.6046 GB Notification: Performance of sort global known variables: time 8.52e-07/13.4, allocations: 0 / 4.234 GB, free: 15.22 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.0119/13.41, allocations: 1.866 MB / 4.236 GB, free: 15.07 MB / 0.6046 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.01561/13.43, allocations: 2.353 MB / 4.238 GB, free: 14.71 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.01244/13.44, allocations: 1.755 MB / 4.24 GB, free: 14.67 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/13.44, allocations: 0 / 4.24 GB, free: 14.67 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.003515/13.44, allocations: 0.7762 MB / 4.241 GB, free: 14.66 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005828/13.45, allocations: 471.2 kB / 4.241 GB, free: 14.63 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007388/13.46, allocations: 2.056 MB / 4.243 GB, free: 14.06 MB / 0.6046 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/13.46, allocations: 1.326 MB / 4.244 GB, free: 13.33 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006509/13.46, allocations: 99.72 kB / 4.244 GB, free: 13.32 MB / 0.6046 GB Notification: Performance of SimCode: time 1.353e-06/13.46, allocations: 0 / 4.244 GB, free: 13.32 MB / 0.6046 GB Notification: Performance of Templates: time 0.5214/13.98, allocations: 68.36 MB / 4.311 GB, free: 124.8 MB / 0.6046 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.makefile (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 & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1)