Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002643/0.002649, allocations: 358 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.417/1.417, allocations: 165.8 MB / 183.1 MB, free: 5.41 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.667/3.667, allocations: 410.8 MB / 0.6001 GB, free: 15.27 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.001803/0.001802, allocations: 192.8 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004742, allocations: 15.94 kB / 0.7429 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3959, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.331/1.727, allocations: 425.8 MB / 1.225 GB, free: 136.8 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/1.728, allocations: 107.3 kB / 1.225 GB, free: 136.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 55.67/57.4, allocations: 10.23 GB / 11.45 GB, free: 53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.535e-06/57.4, allocations: 0 / 11.45 GB, free: 53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.003109/57.4, allocations: 345.6 kB / 11.45 GB, free: 52.93 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.09225/57.49, allocations: 17.54 MB / 11.47 GB, free: 46.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/57.49, allocations: 11.81 kB / 11.47 GB, free: 46.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/57.51, allocations: 2.216 MB / 11.47 GB, free: 45.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08434/57.59, allocations: 18.55 MB / 11.49 GB, free: 43.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008672/57.59, allocations: 0.5284 MB / 11.49 GB, free: 43.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004268/57.6, allocations: 0.7101 MB / 11.49 GB, free: 43.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04721/57.65, allocations: 13.38 MB / 11.5 GB, free: 42.44 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003138/57.65, allocations: 3.938 kB / 11.5 GB, free: 42.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003261/57.65, allocations: 245.5 kB / 11.5 GB, free: 42.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/57.65, allocations: 156 kB / 11.51 GB, free: 42.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04568/57.7, allocations: 17.99 MB / 11.52 GB, free: 39.45 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 1.008/58.7, allocations: 69.91 MB / 11.59 GB, free: 70.55 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02596/58.73, allocations: 9.766 MB / 11.6 GB, free: 70.47 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02092/58.75, allocations: 8.639 MB / 11.61 GB, free: 70.43 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 preOpt evalFunc (simulation): time 0.09196/58.84, allocations: 29.39 MB / 11.64 GB, free: 62.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02186/58.86, allocations: 8.306 MB / 11.65 GB, free: 62.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08085/58.95, allocations: 15.22 MB / 11.66 GB, free: 62.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=393): time 3.769e-05/58.95, allocations: 1.938 kB / 11.66 GB, free: 62.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=581): time 0.9661/59.91, allocations: 126.2 MB / 11.78 GB, free: 54.46 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.574e-05/59.91, allocations: 113.9 kB / 11.78 GB, free: 54.39 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03496/59.95, allocations: 13.3 MB / 11.8 GB, free: 53.65 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.003845/59.95, allocations: 181.2 kB / 11.8 GB, free: 53.62 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.008906/59.96, allocations: 6.019 MB / 11.8 GB, free: 52.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.004869/59.96, allocations: 1.951 MB / 11.8 GB, free: 51.65 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/59.97, allocations: 145.6 kB / 11.81 GB, free: 51.65 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0005113/59.97, allocations: 0.6018 MB / 11.81 GB, free: 51.32 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.027/59.99, allocations: 8.628 MB / 11.81 GB, free: 51.28 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0303/60.02, allocations: 11.24 MB / 11.83 GB, free: 48.31 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03003/60.05, allocations: 9.52 MB / 11.83 GB, free: 46.12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.608e-05/60.05, allocations: 14.72 kB / 11.83 GB, free: 46.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.1083/60.16, allocations: 28.72 MB / 11.86 GB, free: 23.81 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009562/60.16, allocations: 1.532 MB / 11.86 GB, free: 21.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.315e-05/60.16, allocations: 46.72 kB / 11.86 GB, free: 21.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486/62.65, allocations: 171.8 MB / 12.03 GB, free: 85.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02053/62.67, allocations: 1.856 MB / 12.03 GB, free: 85.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08671/62.76, allocations: 27.38 MB / 12.06 GB, free: 80.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03192/62.79, allocations: 1.28 MB / 12.06 GB, free: 80.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004899/62.79, allocations: 0.8044 MB / 12.06 GB, free: 80.26 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/62.79, allocations: 4.547 kB / 12.06 GB, free: 80.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1015/62.9, allocations: 27.4 MB / 12.09 GB, free: 79.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002071/62.9, allocations: 44.97 kB / 12.09 GB, free: 79.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461/65.36, allocations: 171.6 MB / 12.26 GB, free: 114.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01729/65.38, allocations: 1.841 MB / 12.26 GB, free: 114.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1055/65.48, allocations: 31.75 MB / 12.29 GB, free: 110.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03117/65.51, allocations: 1.256 MB / 12.29 GB, free: 110.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00472/65.52, allocations: 0.7602 MB / 12.29 GB, free: 110.4 MB / 0.9011 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (662): * Single equations (assignments): 648 * 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: 3 * 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: 3 {40 56,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01484/65.53, allocations: 3.101 MB / 12.29 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006496/65.54, allocations: 1.199 MB / 12.3 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1741/65.71, allocations: 30.91 MB / 12.33 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00018/65.71, allocations: 74.44 kB / 12.33 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/65.71, allocations: 0 / 12.33 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1419/65.85, allocations: 25.31 MB / 12.35 GB, free: 109 MB / 0.9011 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.2013/66.06, allocations: 50.4 MB / 12.4 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001145/66.06, allocations: 4.844 kB / 12.4 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01242/66.07, allocations: 1.246 MB / 12.4 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4056/66.47, allocations: 49.99 MB / 12.45 GB, free: 95.47 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00223/66.48, allocations: 197.7 kB / 12.45 GB, free: 95.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04184/66.52, allocations: 15.48 MB / 12.47 GB, free: 84.85 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/66.52, allocations: 14.25 kB / 12.47 GB, free: 84.84 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1175/66.64, allocations: 32.57 MB / 12.5 GB, free: 68.85 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0119/66.65, allocations: 2.928 MB / 12.5 GB, free: 66.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005733/66.65, allocations: 135.7 kB / 12.5 GB, free: 66.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02314/66.68, allocations: 0.9962 MB / 12.5 GB, free: 65.66 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003088/66.68, allocations: 472.1 kB / 12.5 GB, free: 65.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00179/66.68, allocations: 284.6 kB / 12.5 GB, free: 65.14 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.02374/66.71, allocations: 9.042 MB / 12.51 GB, free: 57.78 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.31e-07/66.71, allocations: 2.5 kB / 12.51 GB, free: 57.78 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.05733/66.76, allocations: 6.546 MB / 12.52 GB, free: 51.43 MB / 0.9011 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 (490): * Single equations (assignments): 468 * 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: 4 * 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: 4 {7 80,38 56,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01119/66.77, allocations: 4.948 MB / 12.52 GB, free: 47.32 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.1426/66.92, allocations: 35.71 MB / 12.56 GB, free: 18.17 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/66.92, allocations: 0 / 12.56 GB, free: 18.17 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.03794/66.95, allocations: 10.05 MB / 12.57 GB, free: 9.469 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06804/67.02, allocations: 7.567 MB / 12.57 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.676/68.7, allocations: 30.09 MB / 12.6 GB, free: 101.5 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01465/68.71, allocations: 7.165 MB / 12.61 GB, free: 100.5 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.02705/68.74, allocations: 3.751 MB / 12.61 GB, free: 100.4 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006491/68.75, allocations: 0.9851 MB / 12.61 GB, free: 100.4 MB / 0.9012 GB Notification: Performance of SimCode: time 1.112e-06/68.75, allocations: 0 / 12.61 GB, free: 100.4 MB / 0.9012 GB Notification: Performance of Templates: time 1.721/70.47, allocations: 411.8 MB / 13.02 GB, free: 131.6 MB / 0.9324 GB