Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_6_0.Examples.SingleFamilyHouse.LightsControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PLig.y|ligPow.y|zon.TAir",fileNamePrefix="Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.LightsControl") translateModel(Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.LightsControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PLig.y|ligPow.y|zon.TAir",fileNamePrefix="Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.LightsControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 114.3 kB / 16.42 MB, free: 6.441 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.001785/0.001786, allocations: 189.4 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 55.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.761/0.7625, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.LightsControl): time 0.2137/0.9762, allocations: 180.3 MB / 1.265 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02415/1, allocations: 15.26 MB / 1.28 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/1.003, allocations: 51.69 kB / 1.28 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002533/1.006, allocations: 0.6824 MB / 1.28 GB, free: 9.379 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006706/1.013, allocations: 2.056 MB / 1.282 GB, free: 7.316 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006387/1.019, allocations: 2.072 MB / 1.284 GB, free: 5.254 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006008/1.025, allocations: 4.046 MB / 1.288 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004529/1.03, allocations: 2.488 MB / 1.291 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004829/1.034, allocations: 1.931 MB / 1.293 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/1.037, allocations: 1.444 MB / 1.294 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0009397/1.038, allocations: 292 kB / 1.294 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004621/1.043, allocations: 2.001 MB / 1.296 GB, free: 8.984 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001163/1.044, allocations: 0.7789 MB / 1.297 GB, free: 8.203 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002341/1.046, allocations: 1.365 MB / 1.298 GB, free: 6.832 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007627/1.054, allocations: 4.432 MB / 1.303 GB, free: 2.387 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.054, allocations: 0 / 1.303 GB, free: 2.387 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.465e-06/1.054, allocations: 0 / 1.303 GB, free: 2.387 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001338/1.054, allocations: 0 / 1.303 GB, free: 2.387 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.007666/1.062, allocations: 3.019 MB / 1.306 GB, free: 15.28 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.062, allocations: 12.03 kB / 1.306 GB, free: 15.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/1.065, allocations: 0.5121 MB / 1.306 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/1.068, allocations: 1.611 MB / 1.308 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/1.069, allocations: 207.2 kB / 1.308 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004316/1.069, allocations: 208 kB / 1.308 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005292/1.074, allocations: 2.189 MB / 1.31 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-05/1.075, allocations: 3.984 kB / 1.31 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/1.075, allocations: 83.94 kB / 1.31 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.785e-05/1.075, allocations: 48 kB / 1.31 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004528/1.08, allocations: 2.093 MB / 1.312 GB, free: 8.184 MB / 1.045 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.01277/1.092, allocations: 7.455 MB / 1.32 GB, free: 412 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003364/1.096, allocations: 1.777 MB / 1.321 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/1.097, allocations: 0.7467 MB / 1.322 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004739/1.098, allocations: 320.5 kB / 1.322 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001987/1.1, allocations: 1.054 MB / 1.323 GB, free: 12.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=170): time 7.103e-06/1.1, allocations: 4 kB / 1.323 GB, free: 12.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=170): time 0.006057/1.106, allocations: 2.504 MB / 1.326 GB, free: 9.773 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/1.106, allocations: 371.3 kB / 1.326 GB, free: 9.336 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/1.108, allocations: 1.462 MB / 1.328 GB, free: 7.863 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/1.108, allocations: 61.7 kB / 1.328 GB, free: 7.797 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007852/1.109, allocations: 0.8149 MB / 1.329 GB, free: 6.973 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005096/1.11, allocations: 0.52 MB / 1.329 GB, free: 6.445 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006956/1.11, allocations: 403.2 kB / 1.329 GB, free: 6.043 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/1.111, allocations: 305.1 kB / 1.33 GB, free: 5.742 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.112, allocations: 0.6559 MB / 1.33 GB, free: 5.086 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/1.114, allocations: 0.9253 MB / 1.331 GB, free: 4.098 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/1.116, allocations: 1.528 MB / 1.333 GB, free: 2.523 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/1.116, allocations: 3.938 kB / 1.333 GB, free: 2.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003975/1.12, allocations: 1.974 MB / 1.335 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/1.12, allocations: 29.7 kB / 1.335 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.121, allocations: 4 kB / 1.335 GB, free: 500 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/1.121, allocations: 106.7 kB / 1.335 GB, free: 384 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.123, allocations: 367.5 kB / 1.335 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.507e-05/1.123, allocations: 16.91 kB / 1.335 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/1.124, allocations: 208.1 kB / 1.335 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/1.125, allocations: 87.89 kB / 1.335 GB, free: 15.71 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 60 (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,$PRE.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.decAng.tNext,$PRE.building.weaDat.decAng.tNext,building.weaDat.eqnTim.tNext,$PRE.building.weaDat.eqnTim.tNext,building.weaDat.conTim.tNext,$PRE.building.weaDat.conTim.tNext,building.weaDat.conTimMin.tNext,$PRE.building.weaDat.conTimMin.tNext,building.weaDat.locTim.tNext,$PRE.building.weaDat.locTim.tNext,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,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 (218): * Single equations (assignments): 213 * 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.001089/1.126, allocations: 0.5636 MB / 1.336 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/1.126, allocations: 193.7 kB / 1.336 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004076/1.13, allocations: 1.864 MB / 1.338 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002863/1.133, allocations: 1.489 MB / 1.34 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.133, allocations: 4 kB / 1.34 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.134, allocations: 0.4981 MB / 1.34 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003974/1.135, allocations: 47.92 kB / 1.34 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.136, allocations: 103.9 kB / 1.34 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/1.136, allocations: 137.1 kB / 1.34 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00479/1.141, allocations: 2.474 MB / 1.343 GB, free: 8.227 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005434/1.147, allocations: 3.328 MB / 1.346 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001407/1.148, allocations: 0.7965 MB / 1.347 GB, free: 4.074 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001688/1.15, allocations: 0.9501 MB / 1.348 GB, free: 3.129 MB / 1.076 GB Notification: Performance of Backend: time 3.91e-07/1.15, allocations: 0 / 1.348 GB, free: 3.129 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007136/1.157, allocations: 2.402 MB / 1.35 GB, free: 1 MB / 1.076 GB Notification: Performance of SimCode: time 0.007878/1.165, allocations: 4.263 MB / 1.354 GB, free: 12.69 MB / 1.092 GB Notification: Performance of Templates: time 0.07168/1.236, allocations: 40.33 MB / 1.394 GB, free: 4.727 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.LightsControl.makefile (rm -f Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.LightsControl.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.LightsControl.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.LightsControl.pipe >> ../files/Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.LightsControl.sim & ./Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.LightsControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SingleFamilyHouse.LightsControl.pipe 2>&1)