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.000971/0.000971, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001147/0.001147, allocations: 188.1 kB / 16.13 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.395/1.395, allocations: 205.1 MB / 222 MB, free: 4.754 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.727/1.727, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001242/0.001242, allocations: 60.52 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2239, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005682/0.2296, allocations: 4.041 MB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6734/0.9031, allocations: 147.8 MB / 0.931 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007488/0.9039, allocations: 16.78 kB / 0.931 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.9045, allocations: 124.3 kB / 0.9311 GB, free: 5.355 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.001275/0.9058, allocations: 352.4 kB / 0.9315 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.9072, allocations: 0.5932 MB / 0.932 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.9084, allocations: 0.9891 MB / 0.933 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007085/0.9091, allocations: 486.2 kB / 0.9335 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004874/0.9096, allocations: 299.4 kB / 0.9338 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004722/0.9101, allocations: 338.5 kB / 0.9341 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.798e-05/0.9102, allocations: 37.78 kB / 0.9341 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.9108, allocations: 240.6 kB / 0.9343 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.9111, allocations: 183.6 kB / 0.9345 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000387/0.9114, allocations: 381.9 kB / 0.9349 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.9127, allocations: 1.125 MB / 0.936 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9127, allocations: 0 / 0.936 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9127, allocations: 0 / 0.936 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.9128, allocations: 0 / 0.936 GB, free: 5.164 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.00214/0.9149, allocations: 1.151 MB / 0.9371 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.915, allocations: 8.406 kB / 0.9371 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.9153, allocations: 97.73 kB / 0.9372 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008637/0.9161, allocations: 0.6632 MB / 0.9379 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.9162, allocations: 42.25 kB / 0.9379 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.9163, allocations: 64.69 kB / 0.938 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.9173, allocations: 0.693 MB / 0.9386 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.9173, allocations: 2.812 kB / 0.9386 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.115e-05/0.9174, allocations: 24.98 kB / 0.9387 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.9174, allocations: 17.06 kB / 0.9387 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.9187, allocations: 0.9139 MB / 0.9396 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.9218, allocations: 2.317 MB / 0.9418 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008912/0.9227, allocations: 0.5941 MB / 0.9424 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.923, allocations: 231.1 kB / 0.9426 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.003e-05/0.9231, allocations: 28.8 kB / 0.9427 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007794/0.9239, allocations: 350 kB / 0.943 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=61): time 3.707e-06/0.9239, allocations: 0 / 0.943 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=61): time 0.001215/0.9251, allocations: 0.7106 MB / 0.9437 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.9253, allocations: 242.1 kB / 0.9439 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000651/0.9259, allocations: 0.5766 MB / 0.9445 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.52e-05/0.926, allocations: 37.14 kB / 0.9445 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.9262, allocations: 332.3 kB / 0.9448 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.9264, allocations: 208.8 kB / 0.945 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.9266, allocations: 133.6 kB / 0.9452 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.9267, allocations: 377.7 kB / 0.9455 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.927, allocations: 190.7 kB / 0.9457 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.9274, allocations: 292.8 kB / 0.946 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007381/0.9282, allocations: 477.8 kB / 0.9464 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.9282, allocations: 1.094 kB / 0.9464 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001068/0.9293, allocations: 0.6033 MB / 0.947 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.9293, allocations: 5.75 kB / 0.947 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.9293, allocations: 2.25 kB / 0.947 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.9293, allocations: 4.344 kB / 0.947 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.9299, allocations: 131.5 kB / 0.9472 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.9299, allocations: 6.812 kB / 0.9472 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.9304, allocations: 70.73 kB / 0.9472 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/0.9305, allocations: 32.97 kB / 0.9473 GB, free: 17.37 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.0004061/0.9309, allocations: 244.5 kB / 0.9475 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.931, allocations: 72.36 kB / 0.9476 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.9326, allocations: 0.7486 MB / 0.9483 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.9326, allocations: 7.219 kB / 0.9483 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.9326, allocations: 1.125 kB / 0.9483 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.9326, allocations: 9.297 kB / 0.9483 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.9337, allocations: 0.8852 MB / 0.9492 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9337, allocations: 0 / 0.9492 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.9342, allocations: 115 kB / 0.9493 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.9342, allocations: 4.219 kB / 0.9493 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.9343, allocations: 22.88 kB / 0.9493 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.9343, allocations: 3.641 kB / 0.9493 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9343, allocations: 3.25 kB / 0.9493 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.9355, allocations: 0.6335 MB / 0.9499 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/0.9358, allocations: 240.9 kB / 0.9502 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.9359, allocations: 18.91 kB / 0.9502 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.9364, allocations: 43.38 kB / 0.9502 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.9365, allocations: 50.41 kB / 0.9503 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.9366, allocations: 28.34 kB / 0.9503 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006335/0.9372, allocations: 426.1 kB / 0.9507 GB, free: 16.42 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9373, allocations: 0 / 0.9507 GB, free: 16.42 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009205/0.9382, allocations: 221.5 kB / 0.9509 GB, free: 16.39 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.001327/0.9395, allocations: 0.5561 MB / 0.9515 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000882/0.9404, allocations: 0.4971 MB / 0.952 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.9404, allocations: 1.281 kB / 0.952 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.9408, allocations: 281.5 kB / 0.9522 GB, free: 16.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.9419, allocations: 244.4 kB / 0.9525 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.9441, allocations: 1.612 MB / 0.954 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.9446, allocations: 0.9492 MB / 0.955 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007174/0.9454, allocations: 237.6 kB / 0.9552 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.9456, allocations: 88.08 kB / 0.9553 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.9456, allocations: 0 / 0.9553 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of Templates: time 0.0179/0.9635, allocations: 10.55 MB / 0.9656 GB, free: 13.68 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)