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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007298/0.0007299, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004569/0.004569, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.204/1.204, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, allocations: 252 MB / 0.5105 GB, free: 4.629 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004782, allocations: 16 kB / 0.6249 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3808, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1407/0.5215, allocations: 158.6 MB / 0.8836 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006146/0.5277, allocations: 3.294 MB / 0.8869 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007617/0.5286, allocations: 19.88 kB / 0.8869 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008678/0.5294, allocations: 242.9 kB / 0.8871 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.5315, allocations: 0.8015 MB / 0.8879 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.5326, allocations: 406.1 kB / 0.8883 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001592/0.5342, allocations: 1.439 MB / 0.8897 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.5346, allocations: 276.1 kB / 0.8899 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006933/0.5353, allocations: 354.4 kB / 0.8903 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009523/0.5363, allocations: 342.5 kB / 0.8906 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 7.888e-05/0.5364, allocations: 12 kB / 0.8906 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.5376, allocations: 0.7754 MB / 0.8914 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.5378, allocations: 147.5 kB / 0.8915 GB, free: 3.891 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.5382, allocations: 272.4 kB / 0.8918 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.5394, allocations: 0.9423 MB / 0.8927 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5394, allocations: 4 kB / 0.8927 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5394, allocations: 3.938 kB / 0.8927 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.5394, allocations: 0 / 0.8927 GB, free: 2.664 MB / 0.7012 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.001243/0.5407, allocations: 0.7592 MB / 0.8934 GB, free: 1.852 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.5407, allocations: 11.97 kB / 0.8935 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.5417, allocations: 155.2 kB / 0.8936 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/0.5424, allocations: 489 kB / 0.8941 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.5424, allocations: 20.66 kB / 0.8941 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.5425, allocations: 32 kB / 0.8941 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.543, allocations: 332.8 kB / 0.8944 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.543, allocations: 0 / 0.8944 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.5431, allocations: 12 kB / 0.8945 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.5431, allocations: 12.55 kB / 0.8945 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.5435, allocations: 226.1 kB / 0.8947 GB, free: 0.5352 MB / 0.7012 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.001743/0.5452, allocations: 1.422 MB / 0.8961 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.5456, allocations: 219.1 kB / 0.8963 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.5458, allocations: 112.8 kB / 0.8964 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.5458, allocations: 7.938 kB / 0.8964 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.5461, allocations: 167.7 kB / 0.8966 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.5461, allocations: 0 / 0.8966 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.002695/0.5488, allocations: 1.146 MB / 0.8977 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.5488, allocations: 59.39 kB / 0.8977 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.5493, allocations: 457.8 kB / 0.8982 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.5493, allocations: 33.7 kB / 0.8982 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.5495, allocations: 240.2 kB / 0.8984 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.5496, allocations: 106.5 kB / 0.8985 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.5497, allocations: 37.7 kB / 0.8986 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5498, allocations: 350.8 kB / 0.8989 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.55, allocations: 132.8 kB / 0.899 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.5502, allocations: 194 kB / 0.8992 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.5507, allocations: 324.8 kB / 0.8995 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.5507, allocations: 0 / 0.8995 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008778/0.5516, allocations: 493.2 kB / 0.9 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5516, allocations: 8 kB / 0.9 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5516, allocations: 0 / 0.9 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.5519, allocations: 84.95 kB / 0.9001 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.5522, allocations: 67.91 kB / 0.9001 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.5539, allocations: 1.779 MB / 0.9019 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.5543, allocations: 31.92 kB / 0.9019 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.5543, allocations: 16 kB / 0.9019 GB, free: 8.672 MB / 0.7169 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.0002056/0.5545, allocations: 191.6 kB / 0.9021 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.5546, allocations: 51.38 kB / 0.9022 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.5547, allocations: 56.58 kB / 0.9022 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.5547, allocations: 8.062 kB / 0.9022 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5547, allocations: 4 kB / 0.9022 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5547, allocations: 3.984 kB / 0.9022 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.5562, allocations: 1.012 MB / 0.9032 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5562, allocations: 0 / 0.9032 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.5566, allocations: 75.89 kB / 0.9033 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/0.5569, allocations: 68.8 kB / 0.9034 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.5569, allocations: 19.92 kB / 0.9034 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.5581, allocations: 1.554 MB / 0.9049 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5582, allocations: 0 / 0.9049 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009416/0.5591, allocations: 0.5869 MB / 0.9055 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.5593, allocations: 156.5 kB / 0.9056 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.5593, allocations: 8 kB / 0.9056 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.5597, allocations: 23.98 kB / 0.9056 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.5598, allocations: 27.89 kB / 0.9057 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.5598, allocations: 8 kB / 0.9057 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002972/0.5601, allocations: 307.1 kB / 0.906 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5601, allocations: 0 / 0.906 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004739/0.5606, allocations: 124 kB / 0.9061 GB, free: 4.156 MB / 0.7169 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.0009265/0.5615, allocations: 443.4 kB / 0.9065 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008432/0.5624, allocations: 458.9 kB / 0.9069 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5624, allocations: 0 / 0.9069 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.5627, allocations: 246.6 kB / 0.9072 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.5638, allocations: 225.4 kB / 0.9074 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.5655, allocations: 1.276 MB / 0.9086 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.5659, allocations: 0.8541 MB / 0.9095 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003261/0.5662, allocations: 88.33 kB / 0.9096 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.5663, allocations: 39.44 kB / 0.9096 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.5663, allocations: 0 / 0.9096 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of Templates: time 0.3145/0.8808, allocations: 8.515 MB / 0.9179 GB, free: 179.3 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: