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.002244/0.002244, allocations: 178.1 kB / 8.359 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.44/2.44, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001067/0.001067, allocations: 84 kB / 262.1 MB, free: 13.88 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.2892/0.2892, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.965e-05, allocations: 0 / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4445, allocations: 58.84 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.822/8.267, allocations: 2.782 GB / 3.248 GB, free: 6.688 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/8.267, allocations: 86.62 kB / 3.248 GB, free: 6.645 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 4.223/12.49, allocations: 0.7558 GB / 4.004 GB, free: 22.3 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.984e-06/12.49, allocations: 0 / 4.004 GB, free: 22.3 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001458/12.49, allocations: 35.59 kB / 4.004 GB, free: 22.27 MB / 0.5108 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.01229/12.5, allocations: 2.707 MB / 4.007 GB, free: 19.52 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/12.5, allocations: 12.03 kB / 4.007 GB, free: 19.51 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007241/12.51, allocations: 0.6421 MB / 4.008 GB, free: 18.87 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/12.51, allocations: 0.9714 MB / 4.008 GB, free: 17.87 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/12.51, allocations: 48 kB / 4.009 GB, free: 17.82 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/12.51, allocations: 71.92 kB / 4.009 GB, free: 17.75 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00298/12.52, allocations: 1.09 MB / 4.01 GB, free: 16.66 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003047/12.52, allocations: 1.313 MB / 4.011 GB, free: 15.2 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/12.52, allocations: 4 kB / 4.011 GB, free: 15.19 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/12.52, allocations: 8 kB / 4.011 GB, free: 15.18 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.079e-05/12.52, allocations: 45.95 kB / 4.011 GB, free: 15.14 MB / 0.5108 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.7048/13.23, allocations: 88.41 MB / 4.097 GB, free: 32.64 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/13.23, allocations: 0.8185 MB / 4.098 GB, free: 32.61 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008545/13.23, allocations: 410.9 kB / 4.098 GB, free: 32.6 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07679/13.31, allocations: 24.32 MB / 4.122 GB, free: 16.96 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/13.31, allocations: 50.59 kB / 4.122 GB, free: 16.92 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=86): time 3.376e-06/13.31, allocations: 0 / 4.122 GB, free: 16.92 MB / 0.5421 GB Notification: Performance of matching and sorting (n=86): time 0.008637/13.31, allocations: 1.675 MB / 4.124 GB, free: 16.85 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/13.31, allocations: 173.3 kB / 4.124 GB, free: 16.66 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/13.32, allocations: 0.7002 MB / 4.125 GB, free: 16.52 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002903/13.32, allocations: 25.7 kB / 4.125 GB, free: 16.48 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.000493/13.32, allocations: 0.6155 MB / 4.125 GB, free: 16.18 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.000421/13.32, allocations: 281.8 kB / 4.126 GB, free: 16.04 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.746e-05/13.32, allocations: 3.328 kB / 4.126 GB, free: 16.04 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0007851/13.32, allocations: 355.3 kB / 4.126 GB, free: 31.72 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009445/13.32, allocations: 334.1 kB / 4.126 GB, free: 31.72 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/13.32, allocations: 0.6508 MB / 4.127 GB, free: 31.33 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/13.32, allocations: 0.5876 MB / 4.128 GB, free: 31.31 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/13.32, allocations: 0 / 4.128 GB, free: 31.31 MB / 0.5577 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005502/13.33, allocations: 1.325 MB / 4.129 GB, free: 31.21 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 0.001529/13.33, allocations: 3.748 MB / 4.132 GB, free: 27.29 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/13.33, allocations: 10.84 kB / 4.133 GB, free: 27.29 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/13.33, allocations: 338.2 kB / 4.133 GB, free: 27.26 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/13.33, allocations: 287.5 kB / 4.133 GB, free: 27.26 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/13.34, allocations: 1.619 MB / 4.135 GB, free: 26.21 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/13.34, allocations: 245.6 kB / 4.135 GB, free: 26.17 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/13.34, allocations: 65.92 kB / 4.135 GB, free: 26.17 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/13.34, allocations: 10.7 kB / 4.135 GB, free: 26.16 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004069/13.35, allocations: 1.026 MB / 4.136 GB, free: 26.14 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/13.35, allocations: 9.844 kB / 4.136 GB, free: 26.14 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/13.35, allocations: 17.66 kB / 4.136 GB, free: 26.14 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/13.35, allocations: 456.6 kB / 4.136 GB, free: 26.13 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/13.35, allocations: 20.03 kB / 4.136 GB, free: 26.13 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/13.35, allocations: 211.1 kB / 4.137 GB, free: 26.09 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/13.35, allocations: 66.38 kB / 4.137 GB, free: 26.09 MB / 0.5577 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 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.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.0004736/13.35, allocations: 134.2 kB / 4.137 GB, free: 25.99 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/13.35, allocations: 115.5 kB / 4.137 GB, free: 25.93 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008423/13.36, allocations: 4.68 MB / 4.142 GB, free: 25.49 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.683e-05/13.36, allocations: 70.52 kB / 4.142 GB, free: 25.49 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/13.36, allocations: 0 / 4.142 GB, free: 25.49 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/13.36, allocations: 3.75 kB / 4.142 GB, free: 25.49 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/13.37, allocations: 6.417 MB / 4.148 GB, free: 24.93 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/13.37, allocations: 0 / 4.148 GB, free: 24.93 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/13.38, allocations: 184.2 kB / 4.148 GB, free: 24.93 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003695/13.38, allocations: 1.72 MB / 4.15 GB, free: 24.82 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/13.38, allocations: 20.56 kB / 4.15 GB, free: 24.82 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004449/13.38, allocations: 2.972 MB / 4.153 GB, free: 23.71 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/13.38, allocations: 0 / 4.153 GB, free: 23.71 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006477/13.39, allocations: 3.207 MB / 4.156 GB, free: 23.31 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/13.39, allocations: 480.3 kB / 4.156 GB, free: 23.05 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/13.39, allocations: 0 / 4.156 GB, free: 23.05 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/13.39, allocations: 155.2 kB / 4.156 GB, free: 23.04 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/13.39, allocations: 91.06 kB / 4.156 GB, free: 23.04 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/13.4, allocations: 41.38 kB / 4.157 GB, free: 23.04 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.001436/13.4, allocations: 0.6441 MB / 4.157 GB, free: 22.93 MB / 0.5577 GB Notification: Performance of sort global known variables: time 8.82e-07/13.4, allocations: 0 / 4.157 GB, free: 22.93 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.009873/13.41, allocations: 1.795 MB / 4.159 GB, free: 22.79 MB / 0.5577 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.01227/13.42, allocations: 2.287 MB / 4.161 GB, free: 22.43 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.00538/13.42, allocations: 1.969 MB / 4.163 GB, free: 22.39 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/13.42, allocations: 3.719 kB / 4.163 GB, free: 22.39 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/13.43, allocations: 1.192 MB / 4.164 GB, free: 22.37 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00503/13.43, allocations: 0.5088 MB / 4.165 GB, free: 22.33 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007485/13.44, allocations: 2.961 MB / 4.168 GB, free: 21.62 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/13.44, allocations: 1.522 MB / 4.169 GB, free: 20.86 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/13.44, allocations: 110.9 kB / 4.169 GB, free: 20.85 MB / 0.5577 GB Notification: Performance of SimCode: time 1.062e-06/13.44, allocations: 0 / 4.169 GB, free: 20.85 MB / 0.5577 GB Notification: Performance of Templates: time 0.123/13.56, allocations: 60.37 MB / 4.228 GB, free: 6.094 MB / 0.5577 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)