Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, 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.944/1.944, 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.001061/0.001061, allocations: 90.64 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.2689/0.2689, allocations: 43.49 MB / 359.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.247e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.803/7.918, allocations: 2.783 GB / 3.256 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/7.919, allocations: 83.36 kB / 3.256 GB, free: 61.89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.945/11.86, allocations: 0.7624 GB / 4.018 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.736e-06/11.86, allocations: 3.531 kB / 4.018 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002376/11.86, allocations: 34.2 kB / 4.018 GB, free: 45.54 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01624/11.88, allocations: 2.705 MB / 4.021 GB, free: 44.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/11.88, allocations: 14.56 kB / 4.021 GB, free: 44.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/11.89, allocations: 0.6394 MB / 4.022 GB, free: 44.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004763/11.9, allocations: 0.9833 MB / 4.023 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/11.9, allocations: 98.27 kB / 4.023 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006659/11.9, allocations: 110.3 kB / 4.023 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009997/11.91, allocations: 1.936 MB / 4.025 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.879e-05/11.91, allocations: 7.688 kB / 4.025 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003522/11.91, allocations: 53.59 kB / 4.025 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/11.91, allocations: 50.95 kB / 4.025 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009452/11.92, allocations: 1.626 MB / 4.026 GB, free: 43.45 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.02262/11.94, allocations: 9.486 MB / 4.036 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008745/11.95, allocations: 1.432 MB / 4.037 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/11.95, allocations: 464.2 kB / 4.037 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09292/12.04, allocations: 24.32 MB / 4.061 GB, free: 22.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/12.04, allocations: 53.03 kB / 4.061 GB, free: 21.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=94): time 3.787e-06/12.04, allocations: 0 / 4.061 GB, free: 21.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=94): time 0.009234/12.05, allocations: 2.037 MB / 4.063 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/12.05, allocations: 166.2 kB / 4.063 GB, free: 21.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/12.06, allocations: 0.767 MB / 4.064 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003195/12.06, allocations: 45.67 kB / 4.064 GB, free: 21.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/12.06, allocations: 0.5811 MB / 4.065 GB, free: 21.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/12.06, allocations: 323.5 kB / 4.065 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/12.06, allocations: 24.41 kB / 4.065 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001041/12.06, allocations: 348.9 kB / 4.065 GB, free: 20.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009616/12.06, allocations: 347 kB / 4.066 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/12.06, allocations: 0.663 MB / 4.066 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/12.06, allocations: 418.5 kB / 4.067 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/12.06, allocations: 3.719 kB / 4.067 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003402/12.06, allocations: 1.211 MB / 4.068 GB, free: 20.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001572/12.07, allocations: 3.749 MB / 4.072 GB, free: 32.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.432e-05/12.07, allocations: 14.72 kB / 4.072 GB, free: 32.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003793/12.07, allocations: 455.8 kB / 4.072 GB, free: 32.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/12.07, allocations: 288.2 kB / 4.072 GB, free: 32.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/12.07, allocations: 1.471 MB / 4.074 GB, free: 31.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/12.08, allocations: 252.8 kB / 4.074 GB, free: 31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/12.08, allocations: 67.47 kB / 4.074 GB, free: 31 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/12.08, allocations: 6.438 kB / 4.074 GB, free: 31 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002846/12.08, allocations: 1.009 MB / 4.075 GB, free: 30.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/12.08, allocations: 11.53 kB / 4.075 GB, free: 30.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/12.08, allocations: 18.97 kB / 4.075 GB, free: 30.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004356/12.08, allocations: 449.2 kB / 4.076 GB, free: 30.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.619e-05/12.09, allocations: 22.52 kB / 4.076 GB, free: 30.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/12.09, allocations: 210.9 kB / 4.076 GB, free: 30.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/12.09, allocations: 63.77 kB / 4.076 GB, free: 30.86 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005128/12.09, allocations: 189.1 kB / 4.076 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/12.09, allocations: 128.8 kB / 4.076 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008959/12.1, allocations: 5.705 MB / 4.082 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.674e-05/12.1, allocations: 82.94 kB / 4.082 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/12.1, allocations: 6.5 kB / 4.082 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/12.1, allocations: 11.45 kB / 4.082 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/12.11, allocations: 7.84 MB / 4.089 GB, free: 26.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/12.11, allocations: 0 / 4.089 GB, free: 26.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/12.11, allocations: 228.9 kB / 4.09 GB, free: 26.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005651/12.12, allocations: 1.904 MB / 4.092 GB, free: 26 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/12.12, allocations: 28.02 kB / 4.092 GB, free: 25.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003358/12.12, allocations: 2.652 MB / 4.094 GB, free: 24.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/12.12, allocations: 0 / 4.094 GB, free: 24.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/12.13, allocations: 3.534 MB / 4.098 GB, free: 22.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/12.13, allocations: 0.5633 MB / 4.098 GB, free: 22.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/12.13, allocations: 19.94 kB / 4.098 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/12.13, allocations: 177.7 kB / 4.098 GB, free: 22.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/12.13, allocations: 107.3 kB / 4.098 GB, free: 22.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/12.13, allocations: 43.12 kB / 4.099 GB, free: 22.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001561/12.13, allocations: 0.7849 MB / 4.099 GB, free: 21.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.71e-07/12.13, allocations: 0 / 4.099 GB, free: 21.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009362/12.14, allocations: 1.882 MB / 4.101 GB, free: 21.29 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.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,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01249/12.15, allocations: 2.117 MB / 4.103 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006538/12.16, allocations: 2.216 MB / 4.105 GB, free: 19.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/12.16, allocations: 3.031 kB / 4.105 GB, free: 19.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002787/12.16, allocations: 1.415 MB / 4.107 GB, free: 19.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00563/12.17, allocations: 0.5939 MB / 4.107 GB, free: 19.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/12.18, allocations: 3.497 MB / 4.111 GB, free: 16.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/12.18, allocations: 1.636 MB / 4.112 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/12.18, allocations: 114 kB / 4.112 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of SimCode: time 1.262e-06/12.18, allocations: 0 / 4.112 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of Templates: time 0.5548/12.73, allocations: 64.1 MB / 4.175 GB, free: 50.7 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1)