Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.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.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl") translateModel(Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 105.4 kB / 16.38 MB, free: 6.477 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.001193/0.001193, allocations: 186.7 kB / 17.31 MB, free: 5.82 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.182/1.182, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.565/1.565, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001281/0.001281, allocations: 63.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1805, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl): time 0.4572/0.6378, allocations: 179.9 MB / 0.9605 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01791/0.6557, allocations: 14.81 MB / 0.9749 GB, free: 7.27 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.6572, allocations: 47.69 kB / 0.975 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.6588, allocations: 0.6514 MB / 0.9756 GB, free: 6.566 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.004432/0.6633, allocations: 1.867 MB / 0.9774 GB, free: 4.699 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.6673, allocations: 1.987 MB / 0.9794 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003607/0.6709, allocations: 3.797 MB / 0.9831 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/0.6735, allocations: 2.42 MB / 0.9854 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.6767, allocations: 1.845 MB / 0.9872 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.6782, allocations: 1.335 MB / 0.9885 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.6785, allocations: 268 kB / 0.9888 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003204/0.6817, allocations: 1.891 MB / 0.9906 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006028/0.6823, allocations: 0.7206 MB / 0.9913 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.6834, allocations: 1.248 MB / 0.9926 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.6887, allocations: 4.101 MB / 0.9966 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6887, allocations: 4 kB / 0.9966 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6887, allocations: 0 / 0.9966 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.6887, allocations: 0 / 0.9966 GB, free: 1.051 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 459 * Number of variables: 459 Notification: Performance of Generate backend data structure: time 0.004391/0.6931, allocations: 2.82 MB / 0.9993 GB, free: 14.16 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.6932, allocations: 8.031 kB / 0.9993 GB, free: 14.15 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.6958, allocations: 0.5005 MB / 0.9998 GB, free: 13.64 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.6979, allocations: 1.531 MB / 1.001 GB, free: 12.06 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.6981, allocations: 202.9 kB / 1.002 GB, free: 11.85 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/0.6984, allocations: 187.9 kB / 1.002 GB, free: 11.66 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/0.7015, allocations: 2.062 MB / 1.004 GB, free: 9.535 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.7015, allocations: 0 / 1.004 GB, free: 9.535 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.7017, allocations: 79.98 kB / 1.004 GB, free: 9.457 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.7017, allocations: 47.94 kB / 1.004 GB, free: 9.41 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/0.7049, allocations: 1.991 MB / 1.006 GB, free: 7.414 MB / 0.795 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.008684/0.7136, allocations: 7.113 MB / 1.013 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.7162, allocations: 1.683 MB / 1.014 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.7174, allocations: 0.7144 MB / 1.015 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004157/0.7178, allocations: 316.2 kB / 1.015 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.7193, allocations: 0.9602 MB / 1.016 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=160): time 4.769e-06/0.7193, allocations: 0 / 1.016 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=160): time 0.004714/0.724, allocations: 2.355 MB / 1.019 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.7242, allocations: 363.2 kB / 1.019 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.7256, allocations: 1.347 MB / 1.02 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.7258, allocations: 61.7 kB / 1.02 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/0.7263, allocations: 0.7716 MB / 1.021 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.7267, allocations: 0.489 MB / 1.022 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005214/0.7272, allocations: 383.2 kB / 1.022 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.7273, allocations: 305.1 kB / 1.022 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.7284, allocations: 0.6208 MB / 1.023 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.7297, allocations: 0.8525 MB / 1.024 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.7321, allocations: 1.447 MB / 1.025 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7321, allocations: 0 / 1.025 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003134/0.7353, allocations: 1.846 MB / 1.027 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.7353, allocations: 37.64 kB / 1.027 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.7353, allocations: 0 / 1.027 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/0.7356, allocations: 94.52 kB / 1.027 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.737, allocations: 343.5 kB / 1.027 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.242e-05/0.737, allocations: 16.86 kB / 1.027 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.7383, allocations: 190.4 kB / 1.028 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.7385, allocations: 79.95 kB / 1.028 GB, free: 272 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 50 (zon.fmuZon.tLast,ligPow.nObj,actLig.nObj,zon.vol.computeCSen,zon.fmuZon.nObj,building.weaDat.conTim.canRepeatWeatherFile,building.weaDat.conTimMin.canRepeatWeatherFile,zon.fmuZon.QConLast_flow,zon.fmuZon.TRooLast,zon.fmuZon.TAveInlet,$PRE.zon.fmuZon.TAveInlet,zon.fmuZon.mInlet_flow,zon.fmuZon.dtLast,$PRE.zon.fmuZon.tLast,zon.fmuZon.tNext,$PRE.zon.fmuZon.tNext,zon.fmuZon.yEP[5],zon.fmuZon.yEP[4],zon.fmuZon.yEP[3],zon.fmuZon.yEP[2],zon.fmuZon.yEP[1],zon.fmuZon.QPeo_flow,zon.fmuZon.QLat_flow,zon.fmuZon.TRad,building.weaDat.conTim.tNext,$PRE.building.weaDat.conTim.tNext,building.weaDat.conTimMin.tNext,$PRE.building.weaDat.conTimMin.tNext,$whenCondition4,$whenCondition5,$whenCondition6,and1.y,and1.u1,greEquThr.y,not1.y,and2.y,or2.y,lesEquThr1.y,sunRiseSet.nextSunSet,$PRE.sunRiseSet.nextSunSet,sunRiseSet.nextSunRise,$PRE.sunRiseSet.nextSunRise,ligPow.tNext,$PRE.ligPow.tNext,ligPow.yEP[2],ligPow.yEP[1],ligPow.y,$whenCondition1,$whenCondition2,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0008826/0.7394, allocations: 0.5343 MB / 1.028 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.7397, allocations: 177.8 kB / 1.028 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.7428, allocations: 1.692 MB / 1.03 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002364/0.7452, allocations: 1.385 MB / 1.031 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.7452, allocations: 0 / 1.031 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006666/0.7459, allocations: 486.3 kB / 1.032 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.7461, allocations: 32 kB / 1.032 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.7471, allocations: 113.2 kB / 1.032 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.7473, allocations: 117.1 kB / 1.032 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003849/0.7512, allocations: 2.37 MB / 1.034 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004296/0.7555, allocations: 3.178 MB / 1.037 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001139/0.7567, allocations: 0.755 MB / 1.038 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001074/0.7577, allocations: 0.881 MB / 1.039 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of Backend: time 3.2e-07/0.7577, allocations: 0 / 1.039 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005264/0.763, allocations: 2.221 MB / 1.041 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of SimCode: time 0.006144/0.7692, allocations: 4.091 MB / 1.045 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.05313/0.8223, allocations: 38 MB / 1.082 GB, free: 8.836 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.makefile (rm -f Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.pipe >> ../files/Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.sim & ./Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.LightsControl.pipe 2>&1)