Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 289.7 MB / 302.2 MB, free: 2.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 177.9 kB / 371.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 90.86 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.129e-05/4.131e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2979, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.902/2.2, allocations: 467.1 MB / 1.436 GB, free: 257.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/2.2, allocations: 99.58 kB / 1.436 GB, free: 257.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 44.57/46.77, allocations: 10.5 GB / 11.94 GB, free: 42.37 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.585e-06/46.77, allocations: 0 / 11.94 GB, free: 42.37 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003332/46.77, allocations: 347.7 kB / 11.94 GB, free: 42.03 MB / 1.214 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.045/46.82, allocations: 11.06 MB / 11.95 GB, free: 30.87 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/46.82, allocations: 8.031 kB / 11.95 GB, free: 30.86 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/46.83, allocations: 2.071 MB / 11.95 GB, free: 28.77 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05537/46.89, allocations: 18.27 MB / 11.97 GB, free: 10.43 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008725/46.89, allocations: 0.5279 MB / 11.97 GB, free: 9.906 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003408/46.89, allocations: 0.707 MB / 11.97 GB, free: 9.199 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02117/46.91, allocations: 8.304 MB / 11.98 GB, free: 0.5586 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003318/46.91, allocations: 15.81 kB / 11.98 GB, free: 0.543 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002133/46.91, allocations: 252 kB / 11.98 GB, free: 304 kB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/46.91, allocations: 159.9 kB / 11.98 GB, free: 144 kB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.203/48.12, allocations: 6.604 MB / 11.99 GB, free: 67.54 MB / 1.214 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.09973/48.22, allocations: 49.83 MB / 12.03 GB, free: 41.83 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009847/48.23, allocations: 4.653 MB / 12.04 GB, free: 41.66 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006423/48.23, allocations: 3.612 MB / 12.04 GB, free: 41.62 MB / 1.214 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.04027/48.27, allocations: 13.69 MB / 12.06 GB, free: 38.66 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006755/48.28, allocations: 3.241 MB / 12.06 GB, free: 38.56 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0149/48.3, allocations: 2.393 MB / 12.06 GB, free: 38.45 MB / 1.214 GB Notification: Performance of pre-optimization done (n=326): time 2.877e-05/48.3, allocations: 1.875 kB / 12.06 GB, free: 38.45 MB / 1.214 GB Notification: Performance of matching and sorting (n=514): time 0.1413/48.44, allocations: 36.89 MB / 12.1 GB, free: 47.38 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/48.44, allocations: 111.2 kB / 12.1 GB, free: 47.31 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03695/48.47, allocations: 12.05 MB / 12.11 GB, free: 46.58 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.002634/48.48, allocations: 173.8 kB / 12.11 GB, free: 46.55 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01067/48.49, allocations: 6.227 MB / 12.12 GB, free: 45.47 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.003529/48.49, allocations: 1.734 MB / 12.12 GB, free: 44.59 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002043/48.49, allocations: 142.3 kB / 12.12 GB, free: 44.59 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0008149/48.49, allocations: 0.5969 MB / 12.12 GB, free: 44.28 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008219/48.5, allocations: 3.918 MB / 12.12 GB, free: 44.26 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/48.51, allocations: 6.838 MB / 12.13 GB, free: 40.9 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/48.53, allocations: 4.722 MB / 12.13 GB, free: 40.73 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001929/48.53, allocations: 20.7 kB / 12.13 GB, free: 40.73 MB / 1.229 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.04209/48.57, allocations: 13.93 MB / 12.15 GB, free: 39.68 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01888/48.59, allocations: 38.51 MB / 12.18 GB, free: 31.84 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004109/48.59, allocations: 63.22 kB / 12.18 GB, free: 31.84 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009132/48.6, allocations: 3.393 MB / 12.19 GB, free: 31.75 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01192/48.61, allocations: 1.864 MB / 12.19 GB, free: 31.75 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/48.62, allocations: 12.32 MB / 12.2 GB, free: 25.02 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01981/48.64, allocations: 1.204 MB / 12.2 GB, free: 24.98 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003229/48.65, allocations: 486.7 kB / 12.2 GB, free: 24.98 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/48.65, allocations: 9.531 kB / 12.2 GB, free: 24.98 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03227/48.68, allocations: 12.9 MB / 12.22 GB, free: 24.63 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000334/48.68, allocations: 58.78 kB / 12.22 GB, free: 24.63 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00935/48.69, allocations: 3.654 MB / 12.22 GB, free: 24.55 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0109/48.7, allocations: 1.861 MB / 12.22 GB, free: 24.54 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0337/48.73, allocations: 16.61 MB / 12.24 GB, free: 34.96 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01838/48.75, allocations: 1.182 MB / 12.24 GB, free: 34.94 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002993/48.76, allocations: 441.2 kB / 12.24 GB, free: 34.94 MB / 1.276 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 () * 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,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.005057/48.76, allocations: 0.5518 MB / 12.24 GB, free: 34.83 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005996/48.77, allocations: 1.198 MB / 12.24 GB, free: 34.16 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0315/48.8, allocations: 12.34 MB / 12.25 GB, free: 33.59 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.104e-05/48.8, allocations: 64.38 kB / 12.25 GB, free: 33.59 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-05/48.8, allocations: 7.922 kB / 12.25 GB, free: 33.58 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01773/48.82, allocations: 9.745 MB / 12.26 GB, free: 33 MB / 1.276 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.06353/48.88, allocations: 24.38 MB / 12.29 GB, free: 30.96 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/48.88, allocations: 10.78 kB / 12.29 GB, free: 30.96 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006338/48.89, allocations: 1.156 MB / 12.29 GB, free: 30.96 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005449/48.89, allocations: 2.404 MB / 12.29 GB, free: 30.87 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001137/48.89, allocations: 168.1 kB / 12.29 GB, free: 30.87 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/48.9, allocations: 10.99 MB / 12.3 GB, free: 24.15 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/48.9, allocations: 11.12 kB / 12.3 GB, free: 24.15 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03183/48.93, allocations: 18.99 MB / 12.32 GB, free: 19.84 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0115/48.95, allocations: 2.536 MB / 12.32 GB, free: 19.06 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005744/48.95, allocations: 117.3 kB / 12.32 GB, free: 19.06 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01398/48.97, allocations: 0.9878 MB / 12.32 GB, free: 19.04 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001334/48.97, allocations: 391.9 kB / 12.32 GB, free: 19.03 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001151/48.97, allocations: 251.2 kB / 12.32 GB, free: 19.03 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02433/48.99, allocations: 9.161 MB / 12.33 GB, free: 18.61 MB / 1.276 GB Notification: Performance of sort global known variables: time 3.7e-07/48.99, allocations: 0 / 12.33 GB, free: 18.61 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.04783/49.04, allocations: 5.997 MB / 12.34 GB, free: 18.61 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (441): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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 {8 73,1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01088/49.05, allocations: 5.019 MB / 12.34 GB, free: 16.71 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.03528/49.09, allocations: 16.8 MB / 12.36 GB, free: 15.95 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/49.09, allocations: 2.531 kB / 12.36 GB, free: 15.95 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.008726/49.1, allocations: 4.676 MB / 12.36 GB, free: 15.75 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03389/49.13, allocations: 5.964 MB / 12.37 GB, free: 15.41 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05088/49.18, allocations: 19.42 MB / 12.39 GB, free: 11.05 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01367/49.19, allocations: 7.089 MB / 12.4 GB, free: 9.91 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03427/49.23, allocations: 6.475 MB / 12.4 GB, free: 9.062 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003879/49.23, allocations: 0.6792 MB / 12.4 GB, free: 9.051 MB / 1.276 GB Notification: Performance of SimCode: time 9.32e-07/49.23, allocations: 0 / 12.4 GB, free: 9.051 MB / 1.276 GB Notification: Performance of Templates: time 2.578/51.81, allocations: 302.9 MB / 12.7 GB, free: 124.3 MB / 1.292 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)