Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified6.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002582/0.002582, allocations: 356.3 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.444/1.444, allocations: 165.8 MB / 183.1 MB, free: 5.449 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.588/3.588, allocations: 410.8 MB / 0.6001 GB, free: 15.07 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001783/0.001782, allocations: 199.2 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004465, allocations: 8 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3979, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/1.721, allocations: 426.4 MB / 1.225 GB, free: 136.4 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/1.721, allocations: 113.5 kB / 1.225 GB, free: 136.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 57.03/58.75, allocations: 10.46 GB / 11.69 GB, free: 50.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.304e-06/58.75, allocations: 0 / 11.69 GB, free: 50.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.003136/58.75, allocations: 347.6 kB / 11.69 GB, free: 50.67 MB / 0.8386 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.09344/58.85, allocations: 17.44 MB / 11.7 GB, free: 44.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/58.85, allocations: 12.16 kB / 11.7 GB, free: 44.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02226/58.87, allocations: 2.068 MB / 11.71 GB, free: 43.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08665/58.95, allocations: 18.19 MB / 11.72 GB, free: 40.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009101/58.96, allocations: 0.5287 MB / 11.72 GB, free: 40.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003333/58.96, allocations: 0.7156 MB / 11.73 GB, free: 40.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02981/58.99, allocations: 8.536 MB / 11.73 GB, free: 39.72 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004238/58.99, allocations: 14.59 kB / 11.73 GB, free: 39.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002671/58.99, allocations: 252.1 kB / 11.73 GB, free: 39.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/58.99, allocations: 155.8 kB / 11.73 GB, free: 39.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02426/59.02, allocations: 6.955 MB / 11.74 GB, free: 39.57 MB / 0.8386 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.1231/59.14, allocations: 50.53 MB / 11.79 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/59.15, allocations: 4.913 MB / 11.79 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01056/59.16, allocations: 3.761 MB / 11.8 GB, free: 1.395 MB / 0.8386 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 evalFunc (simulation): time 0.05522/59.22, allocations: 13.56 MB / 11.81 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01116/59.23, allocations: 3.385 MB / 11.82 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01809/59.25, allocations: 2.382 MB / 11.82 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=326): time 1.6e-05/59.25, allocations: 3.938 kB / 11.82 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of matching and sorting (n=514): time 1.196/60.44, allocations: 52.97 MB / 11.87 GB, free: 69.38 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/60.44, allocations: 110 kB / 11.87 GB, free: 69.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03925/60.48, allocations: 13.53 MB / 11.88 GB, free: 68.56 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.002309/60.49, allocations: 175.5 kB / 11.88 GB, free: 68.53 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.01044/60.5, allocations: 6.221 MB / 11.89 GB, free: 67.47 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003297/60.5, allocations: 1.733 MB / 11.89 GB, free: 66.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001831/60.5, allocations: 140.9 kB / 11.89 GB, free: 66.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0006617/60.5, allocations: 0.5912 MB / 11.89 GB, free: 66.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01959/60.52, allocations: 4.71 MB / 11.9 GB, free: 66.26 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02278/60.54, allocations: 7.649 MB / 11.9 GB, free: 62.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0215/60.57, allocations: 5.466 MB / 11.91 GB, free: 62.76 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/60.57, allocations: 17.75 kB / 11.91 GB, free: 62.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.07435/60.64, allocations: 16.4 MB / 11.92 GB, free: 61.72 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001452/60.64, allocations: 1.933 MB / 11.93 GB, free: 59.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002428/60.64, allocations: 61.97 kB / 11.93 GB, free: 59.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02882/60.67, allocations: 4.784 MB / 11.93 GB, free: 59.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02146/60.69, allocations: 1.965 MB / 11.93 GB, free: 59.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02312/60.72, allocations: 12.96 MB / 11.95 GB, free: 52.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02463/60.74, allocations: 1.208 MB / 11.95 GB, free: 52.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002899/60.74, allocations: 495.2 kB / 11.95 GB, free: 52.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/60.74, allocations: 6.469 kB / 11.95 GB, free: 52.52 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06471/60.81, allocations: 14.99 MB / 11.96 GB, free: 52.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002528/60.81, allocations: 60.34 kB / 11.96 GB, free: 52.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02425/60.83, allocations: 4.561 MB / 11.97 GB, free: 51.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01804/60.85, allocations: 1.945 MB / 11.97 GB, free: 51.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04287/60.89, allocations: 17.33 MB / 11.99 GB, free: 46.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02333/60.92, allocations: 1.181 MB / 11.99 GB, free: 46.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002636/60.92, allocations: 449.5 kB / 11.99 GB, free: 46.15 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 725 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,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: 6 {1 4,1 2,1 2,1 2,7 78,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01245/60.93, allocations: 3.128 MB / 11.99 GB, free: 45.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004878/60.94, allocations: 1.196 MB / 11.99 GB, free: 45.29 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06612/61, allocations: 14.56 MB / 12.01 GB, free: 44.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001401/61, allocations: 70.86 kB / 12.01 GB, free: 44.37 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/61, allocations: 2.031 kB / 12.01 GB, free: 44.37 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05255/61.06, allocations: 11.89 MB / 12.02 GB, free: 43.46 MB / 0.8542 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 postOpt removeSimpleEquations (simulation): time 0.09948/61.16, allocations: 26.6 MB / 12.04 GB, free: 41.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.325e-05/61.16, allocations: 3.875 kB / 12.04 GB, free: 41.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01191/61.17, allocations: 1.157 MB / 12.04 GB, free: 41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01952/61.19, allocations: 3.445 MB / 12.05 GB, free: 40.78 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001614/61.19, allocations: 168.9 kB / 12.05 GB, free: 40.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/61.21, allocations: 11.65 MB / 12.06 GB, free: 34.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/61.21, allocations: 15.78 kB / 12.06 GB, free: 34.06 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07109/61.28, allocations: 19.5 MB / 12.08 GB, free: 28.35 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0105/61.29, allocations: 2.54 MB / 12.08 GB, free: 26.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004826/61.29, allocations: 116.4 kB / 12.08 GB, free: 26.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01946/61.31, allocations: 0.9738 MB / 12.08 GB, free: 26.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001902/61.31, allocations: 397.4 kB / 12.08 GB, free: 25.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001311/61.32, allocations: 254.9 kB / 12.08 GB, free: 25.72 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.02563/61.34, allocations: 9.165 MB / 12.09 GB, free: 18.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.51e-07/61.34, allocations: 0 / 12.09 GB, free: 18.68 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.05369/61.39, allocations: 5.981 MB / 12.1 GB, free: 12.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (440): * Single equations (assignments): 415 * 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: 7 * 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: 7 {9 78,1 4,1 2,1 2,1 2,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01081/61.41, allocations: 4.937 MB / 12.1 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.07486/61.48, allocations: 18.74 MB / 12.12 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/61.48, allocations: 5.75 kB / 12.12 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02324/61.5, allocations: 5.433 MB / 12.13 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05667/61.56, allocations: 6.07 MB / 12.13 GB, free: 48 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.777/63.34, allocations: 28.72 MB / 12.16 GB, free: 85.51 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01778/63.36, allocations: 7.063 MB / 12.17 GB, free: 84.55 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.03034/63.39, allocations: 3.865 MB / 12.17 GB, free: 84.45 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007146/63.39, allocations: 0.9426 MB / 12.17 GB, free: 84.45 MB / 0.8855 GB Notification: Performance of SimCode: time 1.553e-06/63.39, allocations: 1.594 kB / 12.17 GB, free: 84.45 MB / 0.8855 GB Notification: Performance of Templates: time 0.6772/64.07, allocations: 277.5 MB / 12.44 GB, free: 4.941 MB / 0.9012 GB