Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 292.3 MB / 308.1 MB, free: 4.352 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.001282/0.001282, allocations: 190.2 kB / 376.9 MB, free: 1.875 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.431/1.431, allocations: 205.1 MB / 0.6354 GB, free: 9.812 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.001077/0.001077, allocations: 100.9 kB / 0.748 GB, free: 61.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 56.11 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2582, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.6065/0.8648, allocations: 164.4 MB / 1.143 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01992/0.8847, allocations: 16.64 MB / 1.159 GB, free: 2.848 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.8864, allocations: 27.81 kB / 1.159 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.8879, allocations: 432.5 kB / 1.159 GB, free: 2.602 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.003793/0.8918, allocations: 1.194 MB / 1.161 GB, free: 1.934 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.8952, allocations: 1.202 MB / 1.162 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003195/0.8984, allocations: 2.524 MB / 1.164 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.9007, allocations: 1.729 MB / 1.166 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005597/0.9063, allocations: 1.125 MB / 1.167 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.9076, allocations: 0.874 MB / 1.168 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002643/0.9079, allocations: 104.2 kB / 1.168 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.9105, allocations: 1.388 MB / 1.169 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.911, allocations: 459.5 kB / 1.17 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0009419/0.9119, allocations: 0.8465 MB / 1.171 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003767/0.9157, allocations: 2.776 MB / 1.173 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9157, allocations: 0 / 1.173 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9157, allocations: 0 / 1.173 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.63e-05/0.9158, allocations: 0 / 1.173 GB, free: 12.21 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 414 * Number of variables: 414 Notification: Performance of Generate backend data structure: time 0.003564/0.9193, allocations: 2.132 MB / 1.175 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.9194, allocations: 9.438 kB / 1.175 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/0.9226, allocations: 0.5024 MB / 1.176 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.9241, allocations: 1.035 MB / 1.177 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/0.9242, allocations: 119.5 kB / 1.177 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.9244, allocations: 159.1 kB / 1.177 GB, free: 10 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.9271, allocations: 1.746 MB / 1.179 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.9272, allocations: 0 / 1.179 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.9273, allocations: 79.89 kB / 1.179 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.9274, allocations: 44.66 kB / 1.179 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/0.9302, allocations: 1.804 MB / 1.181 GB, free: 8.742 MB / 0.7761 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.007257/0.9375, allocations: 4.979 MB / 1.186 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.9403, allocations: 1.677 MB / 1.187 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.9414, allocations: 0.6131 MB / 1.188 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000874/0.9423, allocations: 0.8055 MB / 1.189 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/0.9439, allocations: 0.8245 MB / 1.189 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=137): time 4.047e-06/0.944, allocations: 0 / 1.189 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=137): time 0.006203/0.9502, allocations: 2.428 MB / 1.192 GB, free: 2.203 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.9503, allocations: 206.7 kB / 1.192 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.9515, allocations: 0.7616 MB / 1.193 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.9516, allocations: 55.33 kB / 1.193 GB, free: 1.602 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.9521, allocations: 0.6129 MB / 1.193 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004066/0.9525, allocations: 461.4 kB / 1.194 GB, free: 0.7617 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000389/0.9529, allocations: 240.5 kB / 1.194 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.9531, allocations: 349.9 kB / 1.194 GB, free: 344 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009667/0.9541, allocations: 469.3 kB / 1.195 GB, free: 176 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.9552, allocations: 0.6036 MB / 1.195 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.9573, allocations: 1.061 MB / 1.197 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.9574, allocations: 1.125 kB / 1.197 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003601/0.961, allocations: 1.472 MB / 1.198 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.961, allocations: 5.25 kB / 1.198 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.961, allocations: 1.312 kB / 1.198 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009501/0.962, allocations: 188.9 kB / 1.198 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.9635, allocations: 327.4 kB / 1.198 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006451/0.97, allocations: 6.78 MB / 1.205 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.9716, allocations: 148.8 kB / 1.205 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000221/0.9718, allocations: 50.69 kB / 1.205 GB, free: 7.895 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001026/0.9728, allocations: 363.8 kB / 1.206 GB, free: 7.641 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004684/0.9733, allocations: 124.2 kB / 1.206 GB, free: 7.578 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.9781, allocations: 1.749 MB / 1.207 GB, free: 6.852 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.9781, allocations: 14.31 kB / 1.207 GB, free: 6.852 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.9781, allocations: 2.562 kB / 1.207 GB, free: 6.852 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.9782, allocations: 10.66 kB / 1.207 GB, free: 6.848 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007105/0.9853, allocations: 3.247 MB / 1.211 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.9853, allocations: 1.219 kB / 1.211 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.9868, allocations: 314.6 kB / 1.211 GB, free: 5.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009057/0.9877, allocations: 189.8 kB / 1.211 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.9878, allocations: 38.8 kB / 1.211 GB, free: 5.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00652/0.9944, allocations: 6.793 MB / 1.218 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.9944, allocations: 7.875 kB / 1.218 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007334/1.002, allocations: 3.008 MB / 1.221 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.003, allocations: 374.1 kB / 1.221 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/1.003, allocations: 26.59 kB / 1.221 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/1.005, allocations: 114.8 kB / 1.221 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003506/1.005, allocations: 111.6 kB / 1.221 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/1.005, allocations: 72.73 kB / 1.221 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001099/1.006, allocations: 0.5297 MB / 1.222 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2e-07/1.006, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002126/1.009, allocations: 0.54 MB / 1.222 GB, free: 12.1 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001818/1.01, allocations: 0.6763 MB / 1.223 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003703/1.014, allocations: 1.777 MB / 1.225 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.014, allocations: 6.875 kB / 1.225 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/1.016, allocations: 1.261 MB / 1.226 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/1.019, allocations: 473.2 kB / 1.227 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008713/1.028, allocations: 4.193 MB / 1.231 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/1.03, allocations: 1.312 MB / 1.232 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002683/1.032, allocations: 426 kB / 1.232 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000634/1.033, allocations: 141.3 kB / 1.232 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of SimCode: time 1.192e-06/1.033, allocations: 0 / 1.232 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of Templates: time 0.04921/1.082, allocations: 25.11 MB / 1.257 GB, free: 8.332 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)