Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002538/0.002542, allocations: 357.8 kB / 16.58 MB, free: 5.566 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.492 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.619/3.619, 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.001705/0.001705, allocations: 187.6 kB / 0.6668 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004582, allocations: 15.98 kB / 0.7429 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3956, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/1.754, allocations: 425.2 MB / 1.224 GB, free: 137.5 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/1.755, allocations: 110.5 kB / 1.224 GB, free: 137.4 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 56.66/58.41, allocations: 10.29 GB / 11.51 GB, free: 58.05 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.016e-06/58.41, allocations: 0 / 11.51 GB, free: 58.05 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.003481/58.41, allocations: 382.7 kB / 11.51 GB, free: 57.98 MB / 0.8698 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.09804/58.51, allocations: 18.71 MB / 11.53 GB, free: 51.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/58.51, allocations: 9.406 kB / 11.53 GB, free: 51.02 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0179/58.53, allocations: 2.183 MB / 11.53 GB, free: 50.13 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08807/58.62, allocations: 19.89 MB / 11.55 GB, free: 47.73 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001099/58.62, allocations: 0.6041 MB / 11.55 GB, free: 47.71 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005028/58.62, allocations: 0.8118 MB / 11.55 GB, free: 47.71 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04534/58.67, allocations: 14.29 MB / 11.57 GB, free: 46.89 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000369/58.67, allocations: 9.156 kB / 11.57 GB, free: 46.89 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003612/58.67, allocations: 291 kB / 11.57 GB, free: 46.89 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002135/58.67, allocations: 181.3 kB / 11.57 GB, free: 46.89 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04757/58.72, allocations: 18.48 MB / 11.59 GB, free: 46.81 MB / 0.8698 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.1673/58.89, allocations: 74.01 MB / 11.66 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02354/58.91, allocations: 9.809 MB / 11.67 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01983/58.93, allocations: 8.658 MB / 11.68 GB, free: 1.422 MB / 0.8698 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.9935/59.93, allocations: 30.13 MB / 11.71 GB, free: 81.96 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02283/59.95, allocations: 8.286 MB / 11.71 GB, free: 81.85 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07926/60.03, allocations: 14.95 MB / 11.73 GB, free: 81.85 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=427): time 3.814e-05/60.03, allocations: 0 / 11.73 GB, free: 81.85 MB / 0.8855 GB Notification: Performance of matching and sorting (n=613): time 0.7828/60.81, allocations: 112.3 MB / 11.84 GB, free: 74.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.712e-05/60.81, allocations: 117.2 kB / 11.84 GB, free: 74.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04287/60.85, allocations: 14.06 MB / 11.85 GB, free: 73.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.004253/60.86, allocations: 191.7 kB / 11.85 GB, free: 73.74 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.01212/60.87, allocations: 6.643 MB / 11.86 GB, free: 72.63 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.006052/60.88, allocations: 2.071 MB / 11.86 GB, free: 71.57 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004/60.88, allocations: 160 kB / 11.86 GB, free: 71.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000963/60.88, allocations: 0.6182 MB / 11.86 GB, free: 71.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02995/60.91, allocations: 8.632 MB / 11.87 GB, free: 71.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03216/60.94, allocations: 11.44 MB / 11.88 GB, free: 67.97 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03207/60.98, allocations: 9.581 MB / 11.89 GB, free: 67.71 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/60.98, allocations: 15.44 kB / 11.89 GB, free: 67.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.1126/61.09, allocations: 28.51 MB / 11.92 GB, free: 66.46 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001196/61.09, allocations: 1.741 MB / 11.92 GB, free: 64.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/61.09, allocations: 53.56 kB / 11.92 GB, free: 64.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333/63.42, allocations: 147.8 MB / 12.06 GB, free: 75.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02241/63.45, allocations: 2.05 MB / 12.07 GB, free: 75.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07775/63.52, allocations: 25.29 MB / 12.09 GB, free: 70.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03312/63.56, allocations: 1.358 MB / 12.09 GB, free: 70.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005024/63.56, allocations: 0.8165 MB / 12.09 GB, free: 70.75 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/63.56, allocations: 3.609 kB / 12.09 GB, free: 70.75 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1022/63.66, allocations: 27.11 MB / 12.12 GB, free: 70.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002582/63.67, allocations: 53.23 kB / 12.12 GB, free: 70.42 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43/65.1, allocations: 147.8 MB / 12.26 GB, free: 51.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01859/65.11, allocations: 2.031 MB / 12.27 GB, free: 49.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09395/65.21, allocations: 29.59 MB / 12.29 GB, free: 27.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03184/65.24, allocations: 1.326 MB / 12.3 GB, free: 26.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004726/65.24, allocations: 0.7771 MB / 12.3 GB, free: 25.72 MB / 0.8855 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 747 * 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 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01595/65.26, allocations: 3.359 MB / 12.3 GB, free: 23.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007439/65.27, allocations: 1.285 MB / 12.3 GB, free: 23.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1261/65.39, allocations: 26.55 MB / 12.33 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001339/65.39, allocations: 75.98 kB / 12.33 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/65.39, allocations: 2.438 kB / 12.33 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09667/65.49, allocations: 20.9 MB / 12.35 GB, free: 7.859 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 1.213/66.7, allocations: 57.87 MB / 12.4 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001168/66.7, allocations: 7.094 kB / 12.4 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01353/66.72, allocations: 1.353 MB / 12.41 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3673/67.09, allocations: 42.99 MB / 12.45 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002445/67.09, allocations: 208.8 kB / 12.45 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03797/67.13, allocations: 14.37 MB / 12.46 GB, free: 95.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-05/67.13, allocations: 14.78 kB / 12.46 GB, free: 95.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.168/67.29, allocations: 36.23 MB / 12.5 GB, free: 94.39 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01396/67.31, allocations: 3.082 MB / 12.5 GB, free: 94.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006787/67.31, allocations: 137.3 kB / 12.5 GB, free: 94.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0245/67.34, allocations: 1.064 MB / 12.5 GB, free: 94.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00303/67.34, allocations: 479.3 kB / 12.5 GB, free: 94.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002193/67.34, allocations: 306.9 kB / 12.5 GB, free: 94.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0279/67.37, allocations: 9.535 MB / 12.51 GB, free: 93.93 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.12e-07/67.37, allocations: 0 / 12.51 GB, free: 93.93 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.06874/67.44, allocations: 7.116 MB / 12.52 GB, free: 93.93 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (537): * Single equations (assignments): 515 * 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 {9 78,30 38,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01312/67.45, allocations: 5.426 MB / 12.52 GB, free: 91.92 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.1374/67.59, allocations: 34.95 MB / 12.56 GB, free: 91.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/67.59, allocations: 1.469 kB / 12.56 GB, free: 91.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.03693/67.63, allocations: 9.787 MB / 12.57 GB, free: 91.11 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0656/67.69, allocations: 6.94 MB / 12.57 GB, free: 91.03 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08494/67.78, allocations: 32.3 MB / 12.61 GB, free: 67.12 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01604/67.8, allocations: 7.648 MB / 12.61 GB, free: 62.45 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.03151/67.83, allocations: 4.072 MB / 12.62 GB, free: 59.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007446/67.83, allocations: 1.084 MB / 12.62 GB, free: 58.64 MB / 0.9167 GB Notification: Performance of SimCode: time 1.243e-06/67.83, allocations: 2.406 kB / 12.62 GB, free: 58.64 MB / 0.9167 GB Notification: Performance of Templates: time 2.752/70.59, allocations: 423.3 MB / 13.03 GB, free: 128 kB / 0.9637 GB