Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl") translateModel(Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.431/1.431, allocations: 288.4 MB / 304.3 MB, free: 8.055 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.0009537/0.0009537, allocations: 186.9 kB / 372.9 MB, free: 10.11 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.205/1.205, allocations: 205.4 MB / 0.6316 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006955/0.0006955, allocations: 98.23 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 15.39 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1635, allocations: 115.3 MB / 0.9807 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl): time 0.4905/0.654, allocations: 175.3 MB / 1.152 GB, free: 10.45 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03262/0.6867, allocations: 24.97 MB / 1.176 GB, free: 6.68 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/ThermalZones/EnergyPlus/Building.mo:10:3-12:31:writable] Warning: Parameter idfName has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/ThermalZones/EnergyPlus/Building.mo:13:3-15:31:writable] Warning: Parameter weaName has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/ThermalZones/EnergyPlus/Building.mo:10:3-12:31:writable] Warning: Parameter idfName has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/ThermalZones/EnergyPlus/Building.mo:13:3-15:31:writable] Warning: Parameter weaName has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/ThermalZones/EnergyPlus/Building.mo:10:3-12:31:writable] Warning: Parameter idfName has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/ThermalZones/EnergyPlus/Building.mo:13:3-15:31:writable] Warning: Parameter weaName has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/ThermalZones/EnergyPlus/Building.mo:10:3-12:31:writable] Warning: Parameter idfName has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/ThermalZones/EnergyPlus/Building.mo:13:3-15:31:writable] Warning: Parameter weaName has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.005151/0.6919, allocations: 111.9 kB / 1.176 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003601/0.6955, allocations: 0.9203 MB / 1.177 GB, free: 5.863 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.007996/0.7035, allocations: 2.231 MB / 1.179 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008697/0.7122, allocations: 3.072 MB / 1.182 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0046/0.7168, allocations: 3.844 MB / 1.186 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.7194, allocations: 2.028 MB / 1.188 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02228/0.7416, allocations: 3.671 MB / 1.192 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.7437, allocations: 1.059 MB / 1.193 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000565/0.7443, allocations: 72.89 kB / 1.193 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003789/0.7481, allocations: 1.81 MB / 1.195 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0007294/0.7488, allocations: 496.8 kB / 1.195 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.7504, allocations: 0.977 MB / 1.196 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003738/0.7541, allocations: 3.002 MB / 1.199 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7541, allocations: 3.984 kB / 1.199 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7541, allocations: 0 / 1.199 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001243/0.7543, allocations: 0 / 1.199 GB, free: 8.086 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 460 * Number of variables: 460 Notification: Performance of Generate backend data structure: time 0.004531/0.7588, allocations: 2.323 MB / 1.201 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.7589, allocations: 8.656 kB / 1.201 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/0.7617, allocations: 0.5053 MB / 1.202 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.7643, allocations: 1.495 MB / 1.203 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.7645, allocations: 199.1 kB / 1.203 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002894/0.7648, allocations: 186 kB / 1.204 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/0.7681, allocations: 2.048 MB / 1.206 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.7682, allocations: 6.859 kB / 1.206 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.7684, allocations: 78.83 kB / 1.206 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/0.7684, allocations: 44.16 kB / 1.206 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/0.7716, allocations: 1.993 MB / 1.208 GB, free: 2.199 MB / 0.7292 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.009256/0.7808, allocations: 7.197 MB / 1.215 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.7835, allocations: 1.69 MB / 1.216 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.7847, allocations: 0.7021 MB / 1.217 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004413/0.7851, allocations: 324.2 kB / 1.217 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001489/0.7866, allocations: 0.9545 MB / 1.218 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=160): time 4.308e-06/0.7866, allocations: 4 kB / 1.218 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=160): time 0.004847/0.7915, allocations: 2.356 MB / 1.221 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.7916, allocations: 359.1 kB / 1.221 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.7933, allocations: 1.347 MB / 1.222 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.7935, allocations: 65.69 kB / 1.222 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000585/0.7941, allocations: 0.7637 MB / 1.223 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003927/0.7945, allocations: 0.5007 MB / 1.224 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.7946, allocations: 39.97 kB / 1.224 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7947, allocations: 373.8 kB / 1.224 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.7959, allocations: 0.6051 MB / 1.225 GB, free: 272 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.7972, allocations: 0.8612 MB / 1.225 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.7995, allocations: 1.444 MB / 1.227 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7995, allocations: 0 / 1.227 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.00309/0.8026, allocations: 1.842 MB / 1.229 GB, free: 12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.8026, allocations: 33.7 kB / 1.229 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.8026, allocations: 4 kB / 1.229 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/0.8029, allocations: 90.44 kB / 1.229 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.8043, allocations: 351.5 kB / 1.229 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.229e-05/0.8044, allocations: 16.77 kB / 1.229 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.8059, allocations: 233.9 kB / 1.229 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.806, allocations: 75.97 kB / 1.229 GB, free: 11.2 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 50 (zon.fmuZon.tLast,$whenCondition3,$whenCondition2,$whenCondition1,ligPow.y,ligPow.yEP[1],ligPow.yEP[2],$PRE.ligPow.tNext,ligPow.tNext,$PRE.sunRiseSet.nextSunRise,sunRiseSet.nextSunRise,$PRE.sunRiseSet.nextSunSet,sunRiseSet.nextSunSet,lesEquThr1.y,or2.y,and2.y,not1.y,greEquThr.y,and1.u1,and1.y,$whenCondition6,$whenCondition5,$whenCondition4,$PRE.building.weaDat.conTimMin.tNext,building.weaDat.conTimMin.tNext,$PRE.building.weaDat.conTim.tNext,building.weaDat.conTim.tNext,zon.fmuZon.TRad,zon.fmuZon.QLat_flow,zon.fmuZon.QPeo_flow,zon.fmuZon.yEP[1],zon.fmuZon.yEP[2],zon.fmuZon.yEP[3],zon.fmuZon.yEP[4],zon.fmuZon.yEP[5],$PRE.zon.fmuZon.tNext,zon.fmuZon.tNext,$PRE.zon.fmuZon.tLast,zon.fmuZon.dtLast,zon.fmuZon.mInlet_flow,$PRE.zon.fmuZon.TAveInlet,zon.fmuZon.TAveInlet,zon.fmuZon.TRooLast,zon.fmuZon.QConLast_flow,building.weaDat.conTimMin.canRepeatWeatherFile,building.weaDat.conTim.canRepeatWeatherFile,zon.fmuZon.nObj,zon.vol.computeCSen,actLig.nObj,ligPow.nObj) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 196 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009158/0.8069, allocations: 0.5383 MB / 1.23 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.8072, allocations: 177.8 kB / 1.23 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/0.8104, allocations: 1.753 MB / 1.232 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002271/0.8127, allocations: 1.391 MB / 1.233 GB, free: 7.273 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.8127, allocations: 4 kB / 1.233 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007666/0.8135, allocations: 498.2 kB / 1.234 GB, free: 6.762 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.8137, allocations: 35.98 kB / 1.234 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.8148, allocations: 143.9 kB / 1.234 GB, free: 6.586 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.815, allocations: 125.1 kB / 1.234 GB, free: 6.461 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003728/0.8187, allocations: 2.385 MB / 1.236 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00409/0.8228, allocations: 3.165 MB / 1.239 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001116/0.824, allocations: 0.7325 MB / 1.24 GB, free: 116 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001096/0.8251, allocations: 0.8653 MB / 1.241 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of Backend: time 4.71e-07/0.8251, allocations: 0 / 1.241 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004875/0.83, allocations: 2.212 MB / 1.243 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of SimCode: time 0.006458/0.8364, allocations: 4.903 MB / 1.248 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of Templates: time 0.04939/0.8858, allocations: 35.75 MB / 1.283 GB, free: 4.695 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.pipe 2>&1)