Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.373/1.373, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001126, allocations: 168.8 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.284/2.284, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009176/0.0009176, allocations: 87.98 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 11.58 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2363, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1726/0.409, allocations: 160.4 MB / 1.053 GB, free: 3.148 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5892/0.9983, allocations: 3.342 MB / 1.057 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008998/0.9993, allocations: 17.16 kB / 1.057 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009997/1, allocations: 240.4 kB / 1.057 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00281/1.003, allocations: 0.8041 MB / 1.058 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/1.004, allocations: 411.5 kB / 1.058 GB, free: 1.918 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002058/1.006, allocations: 1.428 MB / 1.059 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006012/1.007, allocations: 273.2 kB / 1.06 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008831/1.008, allocations: 364 kB / 1.06 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/1.009, allocations: 346.6 kB / 1.06 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/1.009, allocations: 17.34 kB / 1.06 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/1.011, allocations: 0.7743 MB / 1.061 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/1.011, allocations: 142.4 kB / 1.061 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003422/1.012, allocations: 246.8 kB / 1.062 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/1.013, allocations: 0.6955 MB / 1.062 GB, free: 1.828 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.013, allocations: 0 / 1.062 GB, free: 1.828 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.727e-06/1.013, allocations: 3.062 kB / 1.062 GB, free: 1.828 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.139e-05/1.013, allocations: 0 / 1.062 GB, free: 1.828 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001669/1.015, allocations: 0.7625 MB / 1.063 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.015, allocations: 8.891 kB / 1.063 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/1.016, allocations: 155.9 kB / 1.063 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007823/1.017, allocations: 488.7 kB / 1.064 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/1.017, allocations: 22.98 kB / 1.064 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/1.017, allocations: 33.78 kB / 1.064 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007068/1.018, allocations: 332.2 kB / 1.064 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/1.018, allocations: 6.375 kB / 1.064 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/1.018, allocations: 16.94 kB / 1.064 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/1.018, allocations: 12.62 kB / 1.064 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/1.018, allocations: 217.8 kB / 1.064 GB, free: 16.91 MB / 0.7136 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.002372/1.021, allocations: 1.425 MB / 1.066 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/1.021, allocations: 209.8 kB / 1.066 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/1.021, allocations: 111.4 kB / 1.066 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/1.021, allocations: 3.469 kB / 1.066 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003946/1.022, allocations: 169 kB / 1.066 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 3.276e-06/1.022, allocations: 0 / 1.066 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.003533/1.025, allocations: 1.144 MB / 1.067 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/1.025, allocations: 61.19 kB / 1.067 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007878/1.026, allocations: 454.9 kB / 1.068 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/1.026, allocations: 35.44 kB / 1.068 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/1.027, allocations: 235.5 kB / 1.068 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/1.027, allocations: 104.2 kB / 1.068 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/1.027, allocations: 42.09 kB / 1.068 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001799/1.027, allocations: 354.6 kB / 1.068 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/1.027, allocations: 132.2 kB / 1.069 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/1.028, allocations: 204.5 kB / 1.069 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005711/1.028, allocations: 322.9 kB / 1.069 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.028, allocations: 1.312 kB / 1.069 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001176/1.029, allocations: 488.8 kB / 1.07 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.029, allocations: 10.12 kB / 1.07 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.029, allocations: 1.531 kB / 1.07 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004624/1.03, allocations: 79.12 kB / 1.07 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/1.03, allocations: 70 kB / 1.07 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/1.033, allocations: 1.777 MB / 1.071 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/1.033, allocations: 33.09 kB / 1.071 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/1.033, allocations: 18.48 kB / 1.071 GB, free: 13.37 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004457/1.034, allocations: 199.7 kB / 1.072 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/1.034, allocations: 47.31 kB / 1.072 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/1.034, allocations: 54.88 kB / 1.072 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.034, allocations: 3.219 kB / 1.072 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.034, allocations: 1.469 kB / 1.072 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.034, allocations: 3.125 kB / 1.072 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/1.036, allocations: 1.015 MB / 1.073 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.036, allocations: 0.75 kB / 1.073 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/1.036, allocations: 70.56 kB / 1.073 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003491/1.037, allocations: 78.14 kB / 1.073 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/1.037, allocations: 14.48 kB / 1.073 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/1.038, allocations: 1.553 MB / 1.074 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.038, allocations: 1.062 kB / 1.074 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/1.04, allocations: 0.5872 MB / 1.075 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/1.04, allocations: 156.5 kB / 1.075 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/1.04, allocations: 8.125 kB / 1.075 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/1.04, allocations: 26.19 kB / 1.075 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.308e-05/1.041, allocations: 19.94 kB / 1.075 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/1.041, allocations: 18.44 kB / 1.075 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005041/1.041, allocations: 307.3 kB / 1.075 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.041, allocations: 0 / 1.075 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007394/1.042, allocations: 120.5 kB / 1.076 GB, free: 11.22 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001279/1.043, allocations: 436.6 kB / 1.076 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001372/1.045, allocations: 465.8 kB / 1.076 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.045, allocations: 0 / 1.076 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004152/1.045, allocations: 251.3 kB / 1.077 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/1.046, allocations: 233.1 kB / 1.077 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/1.049, allocations: 1.221 MB / 1.078 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/1.049, allocations: 0.8518 MB / 1.079 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/1.049, allocations: 48.47 kB / 1.079 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of SimCode: time 7.91e-07/1.049, allocations: 1.438 kB / 1.079 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of Templates: time 0.01707/1.066, allocations: 9.145 MB / 1.088 GB, free: 8.617 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)