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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007265/0.0007266, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.000849/0.0008491, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.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.0004932/0.0004933, allocations: 15.66 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2271, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5834/0.8106, allocations: 151.3 MB / 0.9351 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01694/0.8275, allocations: 15.38 MB / 0.9501 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.8292, allocations: 25.16 kB / 0.9501 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.8306, allocations: 360.5 kB / 0.9505 GB, free: 5.059 MB / 0.7169 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.00376/0.8344, allocations: 1.013 MB / 0.9515 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.8378, allocations: 1.062 MB / 0.9525 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002644/0.8404, allocations: 2.235 MB / 0.9547 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.8422, allocations: 1.381 MB / 0.956 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.844, allocations: 0.8775 MB / 0.9569 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008421/0.8449, allocations: 0.6521 MB / 0.9575 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.845, allocations: 38.44 kB / 0.9576 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.8471, allocations: 0.8462 MB / 0.9584 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.8474, allocations: 331.8 kB / 0.9587 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.848, allocations: 316.3 kB / 0.959 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.8501, allocations: 2.026 MB / 0.961 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.8501, allocations: 0 / 0.961 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8501, allocations: 4 kB / 0.961 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.507e-05/0.8502, allocations: 0 / 0.961 GB, free: 19.39 MB / 0.7325 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.002932/0.8531, allocations: 1.764 MB / 0.9627 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.8531, allocations: 11.31 kB / 0.9627 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003238/0.8564, allocations: 0.5084 MB / 0.9632 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.858, allocations: 1.007 MB / 0.9642 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.262e-05/0.8581, allocations: 123.6 kB / 0.9643 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.8584, allocations: 159.7 kB / 0.9645 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/0.8613, allocations: 1.737 MB / 0.9662 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.8613, allocations: 1.312 kB / 0.9662 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.8615, allocations: 75.84 kB / 0.9662 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.8615, allocations: 41.25 kB / 0.9663 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/0.8643, allocations: 1.804 MB / 0.968 GB, free: 17.71 MB / 0.7325 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.006195/0.8705, allocations: 5.013 MB / 0.9729 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.8728, allocations: 1.662 MB / 0.9746 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009281/0.8737, allocations: 0.6239 MB / 0.9752 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007806/0.8745, allocations: 0.8078 MB / 0.976 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.8758, allocations: 0.8101 MB / 0.9767 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=137): time 2.816e-06/0.8758, allocations: 1.781 kB / 0.9767 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=137): time 0.004982/0.8808, allocations: 2.449 MB / 0.9791 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.8809, allocations: 195.7 kB / 0.9793 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/0.8818, allocations: 0.7583 MB / 0.9801 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.882, allocations: 51.55 kB / 0.9801 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.8825, allocations: 0.6241 MB / 0.9807 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003707/0.8829, allocations: 456.5 kB / 0.9812 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.883, allocations: 23.91 kB / 0.9812 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8831, allocations: 356.5 kB / 0.9815 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008074/0.8839, allocations: 461.6 kB / 0.982 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009143/0.8848, allocations: 0.6064 MB / 0.9826 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008838/0.8857, allocations: 0.5307 MB / 0.9831 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8857, allocations: 0 / 0.9831 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002825/0.8886, allocations: 1.463 MB / 0.9845 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.8886, allocations: 6.125 kB / 0.9845 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.8886, allocations: 7.344 kB / 0.9845 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008011/0.8894, allocations: 193.8 kB / 0.9847 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.8908, allocations: 324.7 kB / 0.985 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004862/0.8957, allocations: 6.78 MB / 0.9916 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.897, allocations: 153.2 kB / 0.9918 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.8971, allocations: 56.75 kB / 0.9918 GB, free: 3.438 MB / 0.7325 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000744/0.8979, allocations: 365.5 kB / 0.9922 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.8981, allocations: 119.7 kB / 0.9923 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.9015, allocations: 1.754 MB / 0.994 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.9015, allocations: 13.78 kB / 0.994 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9015, allocations: 0 / 0.994 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.9015, allocations: 11.12 kB / 0.994 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005143/0.9067, allocations: 3.245 MB / 0.9972 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.9067, allocations: 3.953 kB / 0.9972 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.908, allocations: 308.5 kB / 0.9975 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000732/0.9087, allocations: 195 kB / 0.9977 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.121e-05/0.9088, allocations: 38.41 kB / 0.9977 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004896/0.9137, allocations: 6.799 MB / 1.004 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9137, allocations: 128 / 1.004 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/0.9168, allocations: 1.607 MB / 1.006 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007042/0.9175, allocations: 395.6 kB / 1.006 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.9176, allocations: 26.38 kB / 1.006 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.9187, allocations: 143.6 kB / 1.006 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.9188, allocations: 94.77 kB / 1.007 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.919, allocations: 66.45 kB / 1.007 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006374/0.9196, allocations: 0.5284 MB / 1.007 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.002e-06/0.9196, allocations: 0 / 1.007 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001412/0.921, allocations: 0.5313 MB / 1.008 GB, free: 9.816 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/0.9224, allocations: 0.667 MB / 1.008 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002449/0.9249, allocations: 1.778 MB / 1.01 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.9249, allocations: 3.156 kB / 1.01 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.9263, allocations: 1.267 MB / 1.011 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.928, allocations: 461.4 kB / 1.012 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/0.9332, allocations: 3.469 MB / 1.015 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008472/0.9341, allocations: 1.265 MB / 1.016 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001781/0.9359, allocations: 424.3 kB / 1.017 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.9363, allocations: 144 kB / 1.017 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of SimCode: time 2.445e-06/0.9363, allocations: 0 / 1.017 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of Templates: time 0.03313/0.9694, allocations: 23.56 MB / 1.04 GB, free: 0.8555 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: