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.002163/0.002162, allocations: 185.4 kB / 16.4 MB, free: 5.746 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.875/1.875, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001115/0.001114, allocations: 94.86 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.485/0.485, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.0004519, allocations: 8 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1231, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.471/8.594, allocations: 2.783 GB / 3.262 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/8.594, allocations: 87.45 kB / 3.262 GB, free: 27.58 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.952/12.55, allocations: 0.7647 GB / 4.027 GB, free: 45.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.715e-06/12.55, allocations: 0 / 4.027 GB, free: 45.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001637/12.55, allocations: 39.84 kB / 4.027 GB, free: 45.84 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.01365/12.56, allocations: 2.878 MB / 4.029 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/12.56, allocations: 7.875 kB / 4.029 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007777/12.57, allocations: 0.6468 MB / 4.03 GB, free: 44.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003381/12.57, allocations: 0.9816 MB / 4.031 GB, free: 43.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/12.57, allocations: 95.03 kB / 4.031 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004081/12.57, allocations: 115.8 kB / 4.031 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008362/12.58, allocations: 2.029 MB / 4.033 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.215e-05/12.58, allocations: 6.5 kB / 4.033 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/12.58, allocations: 50.69 kB / 4.033 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.989e-05/12.58, allocations: 54.34 kB / 4.033 GB, free: 42.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009224/12.59, allocations: 1.877 MB / 4.035 GB, free: 42.11 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01741/12.61, allocations: 9.485 MB / 4.044 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008581/12.62, allocations: 1.656 MB / 4.046 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07574/12.69, allocations: 24.25 MB / 4.07 GB, free: 17.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/12.69, allocations: 46.81 kB / 4.07 GB, free: 17.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=94): time 3.496e-06/12.69, allocations: 0 / 4.07 GB, free: 17.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=94): time 0.02083/12.71, allocations: 3.345 MB / 4.073 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/12.71, allocations: 163.2 kB / 4.073 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/12.72, allocations: 0.7808 MB / 4.074 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003079/12.72, allocations: 41.7 kB / 4.074 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/12.72, allocations: 0.586 MB / 4.075 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003832/12.72, allocations: 318.9 kB / 4.075 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/12.72, allocations: 24 kB / 4.075 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.978e-05/12.72, allocations: 350.4 kB / 4.075 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/12.72, allocations: 0.5032 MB / 4.076 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/12.72, allocations: 0.8369 MB / 4.077 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/12.72, allocations: 0.5762 MB / 4.077 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/12.72, allocations: 0 / 4.077 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.006725/12.73, allocations: 1.6 MB / 4.079 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008471/12.73, allocations: 3.743 MB / 4.082 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/12.73, allocations: 12 kB / 4.082 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004539/12.74, allocations: 0.5138 MB / 4.083 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/12.74, allocations: 288.6 kB / 4.083 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003753/12.74, allocations: 1.565 MB / 4.085 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/12.75, allocations: 240.5 kB / 4.085 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002761/12.75, allocations: 67.45 kB / 4.085 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/12.75, allocations: 8 kB / 4.085 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005767/12.75, allocations: 1.359 MB / 4.086 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/12.75, allocations: 11.94 kB / 4.086 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/12.75, allocations: 16 kB / 4.086 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004407/12.76, allocations: 457.3 kB / 4.087 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.698e-05/12.76, allocations: 23.69 kB / 4.087 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/12.76, allocations: 212.7 kB / 4.087 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/12.76, allocations: 63.59 kB / 4.087 GB, free: 1.77 MB / 0.5261 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 () * Number of clocked 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.001066/12.76, allocations: 384 kB / 4.087 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000445/12.76, allocations: 126.5 kB / 4.087 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/12.78, allocations: 6.093 MB / 4.093 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/12.78, allocations: 80.81 kB / 4.094 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/12.78, allocations: 4 kB / 4.094 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/12.78, allocations: 10.56 kB / 4.094 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/12.8, allocations: 8.042 MB / 4.101 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/12.8, allocations: 0 / 4.101 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/12.8, allocations: 227.7 kB / 4.102 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006652/12.8, allocations: 1.635 MB / 4.103 GB, free: 2.957 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002791/12.8, allocations: 27.98 kB / 4.103 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004946/12.81, allocations: 2.63 MB / 4.106 GB, free: 252 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/12.81, allocations: 0 / 4.106 GB, free: 252 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4388/13.25, allocations: 3.799 MB / 4.11 GB, free: 62.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/13.25, allocations: 0.5597 MB / 4.11 GB, free: 62.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007324/13.25, allocations: 21.45 kB / 4.11 GB, free: 62.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004336/13.26, allocations: 180.6 kB / 4.11 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009296/13.26, allocations: 104.9 kB / 4.11 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003664/13.26, allocations: 45.27 kB / 4.11 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003334/13.26, allocations: 0.8039 MB / 4.111 GB, free: 62.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.573e-06/13.26, allocations: 0 / 4.111 GB, free: 62.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01023/13.27, allocations: 1.877 MB / 4.113 GB, free: 62.45 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 () * Number of clocked 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.01237/13.28, allocations: 2.128 MB / 4.115 GB, free: 62.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01052/13.29, allocations: 2.724 MB / 4.118 GB, free: 62.28 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/13.29, allocations: 3.844 kB / 4.118 GB, free: 62.28 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003817/13.3, allocations: 1.586 MB / 4.119 GB, free: 62.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005879/13.3, allocations: 0.596 MB / 4.12 GB, free: 62.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/13.31, allocations: 5.566 MB / 4.125 GB, free: 59.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/13.32, allocations: 1.631 MB / 4.127 GB, free: 59.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006832/13.32, allocations: 119.8 kB / 4.127 GB, free: 59.11 MB / 0.5417 GB Notification: Performance of SimCode: time 1.293e-06/13.32, allocations: 2.406 kB / 4.127 GB, free: 59.11 MB / 0.5417 GB Notification: Performance of Templates: time 0.1228/13.44, allocations: 63.76 MB / 4.189 GB, free: 55.85 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)