Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001952, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7727/0.7727, allocations: 130.7 MB / 138.7 MB, free: 3.594 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.5 MB / 391.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000963/0.0009628, allocations: 89.69 kB / 473.9 MB, free: 4.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.545e-05, allocations: 4 kB / 0.5485 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4743/0.4743, allocations: 81.57 MB / 0.6282 GB, free: 42.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8965/1.371, allocations: 423.9 MB / 1.042 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/1.371, allocations: 95.88 kB / 1.042 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 47.39/48.76, allocations: 10.48 GB / 11.53 GB, free: 46.62 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.194e-06/48.76, allocations: 0 / 11.53 GB, free: 46.62 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.00385/48.77, allocations: 403.5 kB / 11.53 GB, free: 46.22 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.05146/48.82, allocations: 12.16 MB / 11.54 GB, free: 33.96 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/48.82, allocations: 12.03 kB / 11.54 GB, free: 33.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01495/48.83, allocations: 2.205 MB / 11.54 GB, free: 31.72 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06423/48.9, allocations: 20.27 MB / 11.56 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/48.9, allocations: 228.5 kB / 11.56 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004597/48.9, allocations: 488 kB / 11.56 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.928/50.83, allocations: 18.34 MB / 11.58 GB, free: 53.68 MB / 0.9637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04331/50.87, allocations: 12.98 MB / 11.59 GB, free: 52.93 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005749/50.87, allocations: 12.34 kB / 11.59 GB, free: 52.93 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004544/50.88, allocations: 11.53 kB / 11.59 GB, free: 52.93 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003789/50.88, allocations: 185 kB / 11.59 GB, free: 52.93 MB / 0.9637 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.1479/51.03, allocations: 73.2 MB / 11.66 GB, free: 36.18 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/51.05, allocations: 10.28 MB / 11.67 GB, free: 36.03 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01581/51.06, allocations: 8.81 MB / 11.68 GB, free: 35.97 MB / 0.9793 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 evalFunc (simulation): time 0.07584/51.14, allocations: 30.18 MB / 11.71 GB, free: 27.28 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0175/51.15, allocations: 7.977 MB / 11.72 GB, free: 27.16 MB / 0.9793 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0507/51.21, allocations: 14.84 MB / 11.73 GB, free: 27.05 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=427): time 6.784e-05/51.21, allocations: 0 / 11.73 GB, free: 27.05 MB / 0.9793 GB Notification: Performance of matching and sorting (n=429): time 0.1184/51.32, allocations: 37.03 MB / 11.77 GB, free: 24.14 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/51.32, allocations: 99.28 kB / 11.77 GB, free: 24.07 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03462/51.36, allocations: 12.02 MB / 11.78 GB, free: 23.4 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.004061/51.36, allocations: 37.95 kB / 11.78 GB, free: 23.37 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01231/51.38, allocations: 6.635 MB / 11.79 GB, free: 22.22 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.004817/51.38, allocations: 1.415 MB / 11.79 GB, free: 21.48 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003495/51.38, allocations: 0 / 11.79 GB, free: 21.48 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.00085/51.38, allocations: 0.561 MB / 11.79 GB, free: 21.17 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01172/51.4, allocations: 6.935 MB / 11.8 GB, free: 21.15 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01418/51.41, allocations: 9.56 MB / 11.81 GB, free: 18.06 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/51.43, allocations: 8.053 MB / 11.81 GB, free: 17.95 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001819/51.43, allocations: 15.28 kB / 11.81 GB, free: 17.95 MB / 0.9793 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.06021/51.49, allocations: 22.81 MB / 11.84 GB, free: 14.57 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.01732/51.51, allocations: 34.76 MB / 11.87 GB, free: 10.14 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003185/51.51, allocations: 51.72 kB / 11.87 GB, free: 10.14 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749/53.25, allocations: 148.1 MB / 12.01 GB, free: 97.71 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009678/53.26, allocations: 1.488 MB / 12.02 GB, free: 97.71 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04611/53.31, allocations: 23.29 MB / 12.04 GB, free: 93.76 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02416/53.33, allocations: 0.8863 MB / 12.04 GB, free: 93.76 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005541/53.34, allocations: 0.7451 MB / 12.04 GB, free: 93.76 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/53.34, allocations: 6.031 kB / 12.04 GB, free: 93.76 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5882/53.93, allocations: 103 MB / 12.14 GB, free: 92.21 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000345/53.93, allocations: 53.62 kB / 12.14 GB, free: 92.21 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6212/54.55, allocations: 143.6 MB / 12.28 GB, free: 19.43 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007807/54.56, allocations: 1.476 MB / 12.28 GB, free: 18.08 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05678/54.61, allocations: 25.93 MB / 12.31 GB, free: 15.25 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02165/54.64, allocations: 0.8579 MB / 12.31 GB, free: 14.45 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004504/54.64, allocations: 0.706 MB / 12.31 GB, free: 13.8 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 649 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.006969/54.65, allocations: 295.3 kB / 12.31 GB, free: 13.64 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007133/54.65, allocations: 1.238 MB / 12.31 GB, free: 13.07 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04933/54.7, allocations: 17.06 MB / 12.33 GB, free: 2.84 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001468/54.7, allocations: 52 kB / 12.33 GB, free: 2.789 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/54.7, allocations: 0 / 12.33 GB, free: 2.789 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058/55.76, allocations: 12.2 MB / 12.34 GB, free: 109.2 MB / 1.026 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 postOpt removeSimpleEquations (simulation): time 0.06907/55.83, allocations: 33.56 MB / 12.37 GB, free: 103.3 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/55.83, allocations: 3.188 kB / 12.37 GB, free: 103.3 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004663/55.84, allocations: 0.8064 MB / 12.37 GB, free: 103.3 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1845/56.02, allocations: 40.71 MB / 12.41 GB, free: 103.3 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001859/56.02, allocations: 77.05 kB / 12.41 GB, free: 103.3 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/56.04, allocations: 11.93 MB / 12.43 GB, free: 99.25 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/56.04, allocations: 0 / 12.43 GB, free: 99.25 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08364/56.12, allocations: 28.54 MB / 12.45 GB, free: 98.21 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01434/56.14, allocations: 2.744 MB / 12.46 GB, free: 97.91 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006563/56.15, allocations: 6.844 kB / 12.46 GB, free: 97.91 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01563/56.16, allocations: 0.6735 MB / 12.46 GB, free: 97.88 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002043/56.16, allocations: 320.8 kB / 12.46 GB, free: 97.87 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009694/56.16, allocations: 222.4 kB / 12.46 GB, free: 97.87 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02401/56.19, allocations: 8.994 MB / 12.47 GB, free: 97.51 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.463e-06/56.19, allocations: 1.688 kB / 12.47 GB, free: 97.51 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.05793/56.25, allocations: 6.325 MB / 12.47 GB, free: 97.51 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (373): * Single equations (assignments): 353 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01068/56.26, allocations: 5.22 MB / 12.48 GB, free: 95.55 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.06183/56.32, allocations: 28.13 MB / 12.5 GB, free: 94.87 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/56.32, allocations: 0 / 12.5 GB, free: 94.87 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01466/56.33, allocations: 6.968 MB / 12.51 GB, free: 94.78 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03857/56.37, allocations: 6.56 MB / 12.52 GB, free: 94.72 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04953/56.42, allocations: 20.16 MB / 12.54 GB, free: 90.45 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01299/56.43, allocations: 7.341 MB / 12.54 GB, free: 89.46 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03272/56.47, allocations: 6.164 MB / 12.55 GB, free: 89.35 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003136/56.47, allocations: 0.6864 MB / 12.55 GB, free: 89.34 MB / 1.026 GB Notification: Performance of SimCode: time 1.573e-06/56.47, allocations: 1.203 kB / 12.55 GB, free: 89.34 MB / 1.026 GB Notification: Performance of Templates: time 1.513/57.98, allocations: 380 MB / 12.92 GB, free: 92.42 MB / 1.026 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)