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.001611/0.001615, allocations: 181.7 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 1.999/1.999, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001088/0.001088, allocations: 86.66 kB / 267.5 MB, free: 14.11 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.2751/0.2751, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.229e-05/4.241e-05, allocations: 0 / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1682, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.529/8.697, allocations: 2.764 GB / 3.237 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/8.697, allocations: 85.88 kB / 3.237 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.073/12.77, allocations: 0.8188 GB / 4.056 GB, free: 51.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/12.77, allocations: 0 / 4.056 GB, free: 51.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001395/12.77, allocations: 38.12 kB / 4.056 GB, free: 51.33 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.01141/12.78, allocations: 2.584 MB / 4.059 GB, free: 49.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/12.78, allocations: 15.75 kB / 4.059 GB, free: 49.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/12.79, allocations: 462.8 kB / 4.059 GB, free: 49.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/12.79, allocations: 0.9893 MB / 4.06 GB, free: 49.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/12.79, allocations: 104.9 kB / 4.06 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/12.79, allocations: 125.6 kB / 4.06 GB, free: 49.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006381/12.8, allocations: 1.948 MB / 4.062 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/12.8, allocations: 6.125 kB / 4.062 GB, free: 48.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/12.8, allocations: 60.3 kB / 4.062 GB, free: 48.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.698e-05/12.8, allocations: 57.64 kB / 4.062 GB, free: 48.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00594/12.8, allocations: 1.584 MB / 4.064 GB, free: 47.85 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.01525/12.82, allocations: 9.448 MB / 4.073 GB, free: 40.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004107/12.82, allocations: 1.073 MB / 4.074 GB, free: 39.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/12.82, allocations: 411.5 kB / 4.074 GB, free: 39.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02525/12.85, allocations: 8.178 MB / 4.082 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/12.85, allocations: 46.56 kB / 4.082 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=91): time 3.086e-06/12.85, allocations: 0 / 4.082 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=91): time 0.009516/12.86, allocations: 1.949 MB / 4.084 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/12.86, allocations: 113.7 kB / 4.084 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/12.86, allocations: 0.756 MB / 4.085 GB, free: 33.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002677/12.86, allocations: 43.17 kB / 4.085 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004395/12.86, allocations: 0.6387 MB / 4.086 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000407/12.86, allocations: 312.5 kB / 4.086 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/12.86, allocations: 19.44 kB / 4.086 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001036/12.86, allocations: 359.3 kB / 4.087 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008881/12.86, allocations: 328.7 kB / 4.087 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/12.86, allocations: 0.703 MB / 4.088 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/12.87, allocations: 422.7 kB / 4.088 GB, free: 31.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/12.87, allocations: 3.188 kB / 4.088 GB, free: 31.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005015/12.87, allocations: 1.42 MB / 4.089 GB, free: 30.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009922/12.87, allocations: 4.606 MB / 4.094 GB, free: 26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/12.87, allocations: 18.45 kB / 4.094 GB, free: 26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003361/12.87, allocations: 0.5162 MB / 4.094 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/12.88, allocations: 222.5 kB / 4.095 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005268/12.88, allocations: 2.703 MB / 4.097 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/12.88, allocations: 246.7 kB / 4.097 GB, free: 23.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/12.88, allocations: 77.78 kB / 4.097 GB, free: 23.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/12.88, allocations: 2.281 kB / 4.097 GB, free: 23.39 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006321/12.89, allocations: 1.347 MB / 4.099 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/12.89, allocations: 11.5 kB / 4.099 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003993/12.9, allocations: 424.1 kB / 4.099 GB, free: 22.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/12.9, allocations: 241.5 kB / 4.099 GB, free: 22.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004509/12.9, allocations: 2.584 MB / 4.102 GB, free: 20.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/12.9, allocations: 215.8 kB / 4.102 GB, free: 20.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/12.9, allocations: 66.5 kB / 4.102 GB, free: 20.38 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.0004632/12.9, allocations: 189.9 kB / 4.102 GB, free: 20.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004267/12.9, allocations: 113.8 kB / 4.103 GB, free: 20.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00726/12.91, allocations: 3.895 MB / 4.106 GB, free: 18.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-05/12.91, allocations: 39.41 kB / 4.106 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/12.91, allocations: 0 / 4.106 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/12.91, allocations: 3.047 kB / 4.106 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/12.92, allocations: 6.073 MB / 4.112 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/12.92, allocations: 3.938 kB / 4.112 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008949/12.92, allocations: 121.5 kB / 4.112 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004368/12.93, allocations: 1.448 MB / 4.114 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/12.93, allocations: 24.59 kB / 4.114 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004234/12.93, allocations: 3.731 MB / 4.118 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/12.93, allocations: 192 / 4.118 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004919/12.94, allocations: 2.736 MB / 4.12 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/12.94, allocations: 400.8 kB / 4.121 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003279/12.94, allocations: 20 kB / 4.121 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/12.94, allocations: 202.8 kB / 4.121 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/12.94, allocations: 86.59 kB / 4.121 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/12.94, allocations: 39.56 kB / 4.121 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001287/12.94, allocations: 0.6573 MB / 4.122 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/12.94, allocations: 3.938 kB / 4.122 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008613/12.95, allocations: 1.941 MB / 4.123 GB, free: 2.754 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.01174/12.96, allocations: 2.182 MB / 4.126 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01077/12.97, allocations: 1.984 MB / 4.128 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/12.97, allocations: 0 / 4.128 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00317/12.98, allocations: 0.9117 MB / 4.128 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005334/12.98, allocations: 0.5727 MB / 4.129 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/12.99, allocations: 2.357 MB / 4.131 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/12.99, allocations: 1.393 MB / 4.133 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/12.99, allocations: 91.09 kB / 4.133 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of SimCode: time 1.453e-06/12.99, allocations: 4 kB / 4.133 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of Templates: time 0.5325/13.52, allocations: 70.49 MB / 4.202 GB, free: 56.72 MB / 0.5417 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)