Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001755/0.001755, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00201/0.00201, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.444/1.444, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.589/1.589, allocations: 251.7 MB / 0.5089 GB, free: 3.207 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.001416/0.001416, allocations: 67.91 kB / 0.6218 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.5009, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1666/0.6675, allocations: 164.7 MB / 0.8848 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0204/0.688, allocations: 16.54 MB / 0.901 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.6896, allocations: 31.75 kB / 0.901 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.6913, allocations: 445.3 kB / 0.9014 GB, free: 6.723 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.004092/0.6954, allocations: 1.237 MB / 0.9026 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.6989, allocations: 1.317 MB / 0.9039 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003311/0.7022, allocations: 2.598 MB / 0.9064 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4799/1.182, allocations: 1.935 MB / 0.9083 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006067/1.188, allocations: 1.338 MB / 0.9096 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/1.19, allocations: 0.9492 MB / 0.9106 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006095/1.191, allocations: 199.5 kB / 0.9108 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/1.195, allocations: 1.351 MB / 0.9121 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007724/1.195, allocations: 0.556 MB / 0.9126 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/1.197, allocations: 0.9679 MB / 0.9136 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00538/1.202, allocations: 2.951 MB / 0.9164 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.202, allocations: 0.8438 kB / 0.9164 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/1.202, allocations: 0.9062 kB / 0.9165 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.006e-05/1.202, allocations: 3.656 kB / 0.9165 GB, free: 3.488 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004762/1.207, allocations: 2.174 MB / 0.9186 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.207, allocations: 12.55 kB / 0.9186 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003967/1.211, allocations: 0.5 MB / 0.9191 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/1.213, allocations: 1.057 MB / 0.9201 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/1.214, allocations: 123.4 kB / 0.9202 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/1.214, allocations: 161.1 kB / 0.9204 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/1.217, allocations: 1.783 MB / 0.9221 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/1.217, allocations: 2.75 kB / 0.9221 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/1.218, allocations: 75.31 kB / 0.9222 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/1.218, allocations: 41.69 kB / 0.9222 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002989/1.221, allocations: 1.808 MB / 0.924 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007766/1.228, allocations: 5.027 MB / 0.9289 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/1.231, allocations: 1.332 MB / 0.9302 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009428/1.232, allocations: 0.618 MB / 0.9308 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008854/1.233, allocations: 0.8027 MB / 0.9316 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/1.234, allocations: 0.8309 MB / 0.9324 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=137): time 3.206e-06/1.234, allocations: 0.6875 kB / 0.9324 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=137): time 0.006073/1.24, allocations: 2.413 MB / 0.9348 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/1.24, allocations: 202.6 kB / 0.935 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/1.242, allocations: 0.7832 MB / 0.9357 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002463/1.242, allocations: 51.58 kB / 0.9358 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/1.242, allocations: 0.6326 MB / 0.9364 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/1.243, allocations: 463 kB / 0.9368 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/1.243, allocations: 240.7 kB / 0.9371 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.243, allocations: 353.2 kB / 0.9374 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008199/1.244, allocations: 454.2 kB / 0.9378 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009776/1.245, allocations: 0.5909 MB / 0.9384 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/1.247, allocations: 1.038 MB / 0.9394 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.247, allocations: 0.9062 kB / 0.9394 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003632/1.251, allocations: 1.443 MB / 0.9408 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/1.251, allocations: 6.344 kB / 0.9408 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.251, allocations: 2.656 kB / 0.9408 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009903/1.252, allocations: 196.7 kB / 0.941 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.253, allocations: 307.5 kB / 0.9413 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00614/1.259, allocations: 7.288 MB / 0.9484 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/1.261, allocations: 149.1 kB / 0.9486 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/1.261, allocations: 53.88 kB / 0.9486 GB, free: 5.895 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 (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.001211/1.263, allocations: 376.1 kB / 0.949 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/1.263, allocations: 127.1 kB / 0.9491 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/1.267, allocations: 1.719 MB / 0.9508 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.267, allocations: 13.44 kB / 0.9508 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.267, allocations: 3.719 kB / 0.9508 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.267, allocations: 6.328 kB / 0.9508 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/1.269, allocations: 1.436 MB / 0.9522 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.269, allocations: 0.9375 kB / 0.9522 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/1.27, allocations: 297.4 kB / 0.9525 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007798/1.271, allocations: 177.4 kB / 0.9527 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/1.271, allocations: 36.97 kB / 0.9527 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005992/1.277, allocations: 7.33 MB / 0.9599 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.277, allocations: 0 / 0.9599 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003655/1.281, allocations: 1.526 MB / 0.9614 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008181/1.282, allocations: 387.9 kB / 0.9617 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/1.282, allocations: 30.03 kB / 0.9618 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.283, allocations: 120.3 kB / 0.9619 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/1.283, allocations: 108.3 kB / 0.962 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/1.283, allocations: 62.62 kB / 0.962 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007107/1.284, allocations: 0.5504 MB / 0.9626 GB, free: 14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.9e-07/1.284, allocations: 0 / 0.9626 GB, free: 14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001712/1.286, allocations: 0.5494 MB / 0.9631 GB, free: 13.89 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.conTimMin.tNext,weaDat.conTim.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.001572/1.288, allocations: 0.6861 MB / 0.9638 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004595/1.292, allocations: 2.166 MB / 0.9659 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/1.292, allocations: 3.906 kB / 0.9659 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/1.294, allocations: 1.25 MB / 0.9671 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/1.296, allocations: 0.4949 MB / 0.9676 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005952/1.302, allocations: 3.549 MB / 0.9711 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/1.303, allocations: 1.278 MB / 0.9723 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00183/1.305, allocations: 413.6 kB / 0.9727 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/1.305, allocations: 144.2 kB / 0.9728 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/1.305, allocations: 2.906 kB / 0.9728 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of Templates: time 0.04215/1.347, allocations: 25.77 MB / 0.998 GB, free: 13.24 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)