Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, 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.001537/0.001537, allocations: 187.9 kB / 16.25 MB, free: 6.625 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.486/1.486, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.656/1.656, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.001382/0.001382, allocations: 61.8 kB / 0.671 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2661, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.006315/0.2724, allocations: 4.048 MB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.624/0.8965, allocations: 147.9 MB / 0.9313 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008634/0.8975, allocations: 17.12 kB / 0.9313 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.8981, allocations: 129 kB / 0.9314 GB, free: 5.457 MB / 0.7325 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.001487/0.8995, allocations: 352.2 kB / 0.9317 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.9012, allocations: 0.6113 MB / 0.9323 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.9026, allocations: 1.063 MB / 0.9334 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006816/0.9033, allocations: 0.4954 MB / 0.9339 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/0.9038, allocations: 348.9 kB / 0.9342 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/0.9043, allocations: 363.2 kB / 0.9345 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.9044, allocations: 85.72 kB / 0.9346 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006351/0.905, allocations: 284.5 kB / 0.9349 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.9053, allocations: 228 kB / 0.9351 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.9057, allocations: 427.2 kB / 0.9355 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.9073, allocations: 1.165 MB / 0.9367 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.9073, allocations: 6.016 kB / 0.9367 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9073, allocations: 0 / 0.9367 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.9073, allocations: 0 / 0.9367 GB, free: 5.262 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002112/0.9094, allocations: 1.144 MB / 0.9378 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9095, allocations: 15.03 kB / 0.9378 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/0.9098, allocations: 97.31 kB / 0.9379 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008553/0.9106, allocations: 0.6571 MB / 0.9385 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/0.9107, allocations: 43.44 kB / 0.9386 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/0.9108, allocations: 58.88 kB / 0.9386 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.9119, allocations: 0.6976 MB / 0.9393 GB, free: 20.08 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.9119, allocations: 0 / 0.9393 GB, free: 20.08 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.912, allocations: 29.31 kB / 0.9393 GB, free: 20.08 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.912, allocations: 15 kB / 0.9393 GB, free: 20.08 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.9132, allocations: 0.9191 MB / 0.9402 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.9164, allocations: 2.322 MB / 0.9425 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/0.9172, allocations: 0.6035 MB / 0.9431 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.9175, allocations: 225 kB / 0.9433 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.806e-05/0.9176, allocations: 29.8 kB / 0.9433 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006624/0.9183, allocations: 352.6 kB / 0.9437 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=61): time 1.963e-06/0.9183, allocations: 2.547 kB / 0.9437 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=61): time 0.001297/0.9196, allocations: 0.7027 MB / 0.9444 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.9198, allocations: 241.8 kB / 0.9446 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007258/0.9205, allocations: 0.5798 MB / 0.9452 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/0.9206, allocations: 33.42 kB / 0.9452 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.9208, allocations: 333.7 kB / 0.9455 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.921, allocations: 204.8 kB / 0.9457 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.9212, allocations: 139 kB / 0.9458 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.9215, allocations: 373.2 kB / 0.9462 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.9218, allocations: 190 kB / 0.9464 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.9223, allocations: 288.7 kB / 0.9467 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008099/0.9231, allocations: 476.2 kB / 0.9471 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9232, allocations: 0.625 kB / 0.9471 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001142/0.9243, allocations: 0.6077 MB / 0.9477 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.9243, allocations: 6.344 kB / 0.9477 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.9244, allocations: 2.547 kB / 0.9477 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.9244, allocations: 4.156 kB / 0.9477 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.9249, allocations: 129.7 kB / 0.9478 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.925, allocations: 8.547 kB / 0.9479 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.9255, allocations: 71.55 kB / 0.9479 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.9256, allocations: 29.31 kB / 0.9479 GB, free: 17.47 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003965/0.926, allocations: 247.9 kB / 0.9482 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.9261, allocations: 70.06 kB / 0.9482 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.9276, allocations: 0.7552 MB / 0.949 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.9276, allocations: 6.656 kB / 0.949 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.9276, allocations: 1.125 kB / 0.949 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.9276, allocations: 3.844 kB / 0.949 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.9289, allocations: 0.8842 MB / 0.9499 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.9289, allocations: 0.5312 kB / 0.9499 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.9294, allocations: 116.8 kB / 0.95 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/0.9295, allocations: 7.344 kB / 0.95 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.9295, allocations: 25 kB / 0.95 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.9295, allocations: 2.938 kB / 0.95 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.9295, allocations: 2.875 kB / 0.95 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.9309, allocations: 0.6432 MB / 0.9506 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.9312, allocations: 233.8 kB / 0.9509 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.9314, allocations: 23.86 kB / 0.9509 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.9318, allocations: 46.36 kB / 0.9509 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.932, allocations: 50.19 kB / 0.951 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.295e-05/0.9321, allocations: 23.34 kB / 0.951 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006395/0.9327, allocations: 423.9 kB / 0.9514 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.572e-06/0.9327, allocations: 0 / 0.9514 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007872/0.9335, allocations: 228.7 kB / 0.9516 GB, free: 16.48 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/0.9348, allocations: 0.5559 MB / 0.9522 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.9362, allocations: 0.6557 MB / 0.9528 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.9363, allocations: 1.094 kB / 0.9528 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.9367, allocations: 280 kB / 0.9531 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.9378, allocations: 244.7 kB / 0.9533 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.9401, allocations: 1.613 MB / 0.9549 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.9407, allocations: 0.9485 MB / 0.9558 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008613/0.9415, allocations: 249.9 kB / 0.956 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.9418, allocations: 85.88 kB / 0.9561 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of SimCode: time 8.12e-07/0.9418, allocations: 0 / 0.9561 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.02277/0.9646, allocations: 10.89 MB / 0.9668 GB, free: 13.74 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)