Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.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-master/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-master/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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001859, allocations: 171.8 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8096/0.8096, allocations: 133.6 MB / 141.6 MB, free: 2.828 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.563/1.563, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009499/0.0009498, allocations: 102.1 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.11e-05, allocations: 0 / 0.5535 GB, free: 9.062 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4913, allocations: 82.29 MB / 0.6338 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8876/1.379, allocations: 424.8 MB / 1.049 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.379, allocations: 90.64 kB / 1.049 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 47.39/48.77, allocations: 10.42 GB / 11.47 GB, free: 49.94 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/48.77, allocations: 0 / 11.47 GB, free: 49.94 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002891/48.77, allocations: 353.5 kB / 11.47 GB, free: 49.88 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.05044/48.82, allocations: 11.19 MB / 11.48 GB, free: 45.21 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/48.82, allocations: 9.562 kB / 11.48 GB, free: 45.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01922/48.84, allocations: 2.237 MB / 11.48 GB, free: 44.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07097/48.92, allocations: 18.75 MB / 11.5 GB, free: 42.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006487/48.92, allocations: 194.5 kB / 11.5 GB, free: 42.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004754/48.92, allocations: 434.8 kB / 11.5 GB, free: 42.29 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0329/48.95, allocations: 17.9 MB / 11.52 GB, free: 42.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03557/48.99, allocations: 12.22 MB / 11.53 GB, free: 41.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005255/48.99, allocations: 10.34 kB / 11.53 GB, free: 41.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004424/48.99, allocations: 9.547 kB / 11.53 GB, free: 41.67 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002026/48.99, allocations: 147.8 kB / 11.53 GB, free: 41.67 MB / 0.948 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.1378/49.13, allocations: 69.19 MB / 11.6 GB, free: 25.89 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01607/49.15, allocations: 10.23 MB / 11.61 GB, free: 25.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01306/49.16, allocations: 8.784 MB / 11.62 GB, free: 25.66 MB / 0.9636 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.0729/49.23, allocations: 29.39 MB / 11.65 GB, free: 17.38 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0145/49.25, allocations: 7.987 MB / 11.65 GB, free: 17.28 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04894/49.3, allocations: 15.11 MB / 11.67 GB, free: 17.08 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=393): time 7.767e-05/49.3, allocations: 2.391 kB / 11.67 GB, free: 17.08 MB / 0.9636 GB Notification: Performance of matching and sorting (n=395): time 0.1143/49.41, allocations: 37.21 MB / 11.71 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/49.41, allocations: 93.48 kB / 11.71 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03669/49.45, allocations: 11.29 MB / 11.72 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.004215/49.45, allocations: 37.95 kB / 11.72 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.01015/49.46, allocations: 6.021 MB / 11.72 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.004486/49.47, allocations: 1.293 MB / 11.72 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003375/49.47, allocations: 0 / 11.72 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0007681/49.47, allocations: 0.5381 MB / 11.72 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01237/49.48, allocations: 6.921 MB / 11.73 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01428/49.5, allocations: 9.313 MB / 11.74 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01643/49.52, allocations: 7.967 MB / 11.75 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/49.52, allocations: 14.34 kB / 11.75 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.07015/49.59, allocations: 23.44 MB / 11.77 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.068/50.65, allocations: 29.58 MB / 11.8 GB, free: 92.17 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002595/50.65, allocations: 46.58 kB / 11.8 GB, free: 92.17 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7566/51.41, allocations: 167.2 MB / 11.96 GB, free: 91.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008745/51.42, allocations: 1.291 MB / 11.96 GB, free: 91.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05307/51.47, allocations: 25.49 MB / 11.99 GB, free: 87.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01975/51.49, allocations: 0.822 MB / 11.99 GB, free: 87.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004357/51.5, allocations: 0.7272 MB / 11.99 GB, free: 87.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/51.5, allocations: 2.531 kB / 11.99 GB, free: 87.5 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05393/51.55, allocations: 20.88 MB / 12.01 GB, free: 87.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00025/51.55, allocations: 44.53 kB / 12.01 GB, free: 87.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765/53.32, allocations: 167.2 MB / 12.17 GB, free: 120.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007684/53.32, allocations: 1.28 MB / 12.18 GB, free: 120.7 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05565/53.38, allocations: 28.32 MB / 12.2 GB, free: 118 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02037/53.4, allocations: 0.7938 MB / 12.2 GB, free: 118 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003985/53.4, allocations: 0.6893 MB / 12.2 GB, free: 118 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpCoo.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: 207 * 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 (560): * Single equations (assignments): 548 * 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 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.004565/53.41, allocations: 280.5 kB / 12.2 GB, free: 117.9 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004769/53.41, allocations: 1.155 MB / 12.21 GB, free: 117.9 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04006/53.45, allocations: 17.31 MB / 12.22 GB, free: 117.5 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-05/53.45, allocations: 46.09 kB / 12.22 GB, free: 117.5 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/53.45, allocations: 2.156 kB / 12.22 GB, free: 117.5 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01869/53.47, allocations: 12.51 MB / 12.24 GB, free: 117 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.1389/53.61, allocations: 45.46 MB / 12.28 GB, free: 111 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.159e-05/53.61, allocations: 3.531 kB / 12.28 GB, free: 111 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004392/53.62, allocations: 0.6963 MB / 12.28 GB, free: 111 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2182/53.83, allocations: 47.69 MB / 12.33 GB, free: 111 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001933/53.84, allocations: 71.78 kB / 12.33 GB, free: 111 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02173/53.86, allocations: 13.17 MB / 12.34 GB, free: 106.9 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/53.86, allocations: 1.75 kB / 12.34 GB, free: 106.9 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1598/54.02, allocations: 41.08 MB / 12.38 GB, free: 105.8 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01096/54.03, allocations: 2.577 MB / 12.38 GB, free: 105 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005804/54.03, allocations: 8.531 kB / 12.38 GB, free: 105 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0143/54.05, allocations: 0.6111 MB / 12.38 GB, free: 105 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001792/54.05, allocations: 302.3 kB / 12.38 GB, free: 105 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009777/54.05, allocations: 196.9 kB / 12.38 GB, free: 105 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01907/54.07, allocations: 8.461 MB / 12.39 GB, free: 104.6 MB / 1.026 GB Notification: Performance of sort global known variables: time 6.31e-07/54.07, allocations: 0 / 12.39 GB, free: 104.6 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0469/54.12, allocations: 5.747 MB / 12.4 GB, free: 104.6 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (324): * Single equations (assignments): 304 * 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 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.009017/54.13, allocations: 4.74 MB / 12.4 GB, free: 102.8 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.06231/54.19, allocations: 28.67 MB / 12.43 GB, free: 93.16 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/54.19, allocations: 4.406 kB / 12.43 GB, free: 93.16 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01573/54.2, allocations: 7.206 MB / 12.44 GB, free: 89.58 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03473/54.24, allocations: 6.036 MB / 12.44 GB, free: 86.5 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04338/54.28, allocations: 18.52 MB / 12.46 GB, free: 72.65 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01243/54.3, allocations: 6.847 MB / 12.47 GB, free: 68.6 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03265/54.33, allocations: 5.761 MB / 12.47 GB, free: 64.94 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002905/54.33, allocations: 0.6042 MB / 12.47 GB, free: 64.43 MB / 1.026 GB Notification: Performance of SimCode: time 1.142e-06/54.33, allocations: 0 / 12.47 GB, free: 64.43 MB / 1.026 GB Notification: Performance of Templates: time 2.443/56.77, allocations: 368.6 MB / 12.83 GB, free: 27.61 MB / 1.026 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)