Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating.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.AirHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating") translateModel(Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 115.2 kB / 16.38 MB, free: 6.02 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.001116/0.001116, allocations: 186 kB / 17.31 MB, free: 5.617 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.151/1.151, allocations: 205.1 MB / 223.2 MB, free: 12.12 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.559/1.559, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001317/0.001317, allocations: 71.89 kB / 0.6729 GB, free: 5.766 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1763, allocations: 114.6 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating): time 0.4977/0.674, allocations: 236.1 MB / 1.015 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03305/0.7071, allocations: 27.59 MB / 1.042 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002963/0.7101, allocations: 99.44 kB / 1.042 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.7135, allocations: 1.588 MB / 1.044 GB, free: 296 kB / 0.8262 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.00901/0.7225, allocations: 4.178 MB / 1.048 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.009492/0.732, allocations: 4.569 MB / 1.052 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008794/0.7408, allocations: 7.409 MB / 1.06 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00495/0.7458, allocations: 3.99 MB / 1.064 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00675/0.7526, allocations: 3.686 MB / 1.067 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002963/0.7555, allocations: 2.415 MB / 1.07 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005135/0.7561, allocations: 427.9 kB / 1.07 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007141/0.7632, allocations: 4.359 MB / 1.074 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.7643, allocations: 1.254 MB / 1.075 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001919/0.7662, allocations: 2.107 MB / 1.078 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008243/0.7745, allocations: 7.338 MB / 1.085 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.7745, allocations: 0 / 1.085 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7745, allocations: 7.938 kB / 1.085 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.622e-05/0.7746, allocations: 0 / 1.085 GB, free: 6.488 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 700 * Number of variables: 700 Notification: Performance of Generate backend data structure: time 0.007398/0.782, allocations: 4.565 MB / 1.089 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.782, allocations: 8.75 kB / 1.089 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006656/0.7887, allocations: 1.193 MB / 1.09 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/0.7927, allocations: 2.615 MB / 1.093 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.7929, allocations: 252.2 kB / 1.093 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.7933, allocations: 288 kB / 1.093 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00555/0.7989, allocations: 3.414 MB / 1.097 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/0.7989, allocations: 3.938 kB / 1.097 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/0.7992, allocations: 116 kB / 1.097 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.667e-05/0.7993, allocations: 101.2 kB / 1.097 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006194/0.8055, allocations: 3.303 MB / 1.1 GB, free: 6.332 MB / 0.8887 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.01632/0.8218, allocations: 13 MB / 1.113 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005988/0.8278, allocations: 2.573 MB / 1.115 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/0.8299, allocations: 1.139 MB / 1.116 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007855/0.8307, allocations: 0.5267 MB / 1.117 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002542/0.8333, allocations: 1.395 MB / 1.118 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=201): time 3.787e-06/0.8333, allocations: 0 / 1.118 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of matching and sorting (n=201): time 0.00809/0.8414, allocations: 3.529 MB / 1.122 GB, free: 15.24 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.8415, allocations: 360.1 kB / 1.122 GB, free: 14.81 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.8441, allocations: 2.229 MB / 1.124 GB, free: 12.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.8443, allocations: 73.7 kB / 1.124 GB, free: 12.49 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.8454, allocations: 1.4 MB / 1.126 GB, free: 11.08 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004995/0.8459, allocations: 0.6469 MB / 1.126 GB, free: 10.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006963/0.8466, allocations: 487.9 kB / 1.127 GB, free: 9.941 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.8467, allocations: 301.1 kB / 1.127 GB, free: 9.645 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.8488, allocations: 1.037 MB / 1.128 GB, free: 8.598 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/0.8514, allocations: 1.551 MB / 1.13 GB, free: 6.855 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004434/0.8559, allocations: 2.484 MB / 1.132 GB, free: 4.227 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.8559, allocations: 4 kB / 1.132 GB, free: 4.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.005731/0.8616, allocations: 2.99 MB / 1.135 GB, free: 1.207 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.571e-05/0.8617, allocations: 71.39 kB / 1.135 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.8617, allocations: 12 kB / 1.135 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.8619, allocations: 74.48 kB / 1.135 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.8643, allocations: 0.5421 MB / 1.136 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2957/1.16, allocations: 0.5844 MB / 1.136 GB, free: 300.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/1.163, allocations: 331.2 kB / 1.137 GB, free: 300.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/1.163, allocations: 118.9 kB / 1.137 GB, free: 300.9 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002775/1.166, allocations: 1.621 MB / 1.138 GB, free: 300.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002019/1.168, allocations: 1.506 MB / 1.14 GB, free: 300.3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003573/1.171, allocations: 2.419 MB / 1.142 GB, free: 299.9 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.582e-06/1.171, allocations: 3.312 kB / 1.142 GB, free: 299.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=289) (initialization_lambda0): time 0.004844/1.176, allocations: 2.913 MB / 1.145 GB, free: 299.6 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/1.176, allocations: 67.92 kB / 1.145 GB, free: 299.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/1.176, allocations: 11.47 kB / 1.145 GB, free: 299.6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.724e-05/1.177, allocations: 75.55 kB / 1.145 GB, free: 299.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/1.179, allocations: 0.5331 MB / 1.146 GB, free: 299.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002092/1.179, allocations: 0.5939 MB / 1.146 GB, free: 298.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/1.181, allocations: 291.9 kB / 1.147 GB, free: 298.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/1.181, allocations: 115.1 kB / 1.147 GB, free: 298.9 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 38 ($whenCondition1,$whenCondition2,zon.fmuZon.tLast,conPID.con1.y,zon.vol.computeCSen,zon.fmuZon.nObj,building.weaDat.conTim.canRepeatWeatherFile,building.weaDat.conTimMin.canRepeatWeatherFile,sta2.y,$PRE.sta2.y,sta1.y,$PRE.sta1.y,TSet.booPul.y,$PRE.TSet.booPul.y,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,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 269 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 1 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004936/1.182, allocations: 369.4 kB / 1.147 GB, free: 298.6 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003962/1.182, allocations: 284.3 kB / 1.147 GB, free: 298.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005476/1.188, allocations: 2.694 MB / 1.15 GB, free: 297.6 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004455/1.192, allocations: 2.355 MB / 1.152 GB, free: 296.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/1.192, allocations: 1.719 kB / 1.152 GB, free: 296.6 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009299/1.193, allocations: 0.6342 MB / 1.153 GB, free: 296.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003181/1.193, allocations: 48.03 kB / 1.153 GB, free: 296.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/1.195, allocations: 152.8 kB / 1.153 GB, free: 296.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/1.195, allocations: 145 kB / 1.153 GB, free: 296.2 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006045/1.201, allocations: 2.965 MB / 1.156 GB, free: 295 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006978/1.208, allocations: 4.241 MB / 1.16 GB, free: 293.1 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00199/1.21, allocations: 1.123 MB / 1.161 GB, free: 292.7 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001913/1.212, allocations: 1.478 MB / 1.163 GB, free: 292.2 MB / 0.92 GB Notification: Performance of Backend: time 7.52e-07/1.212, allocations: 0 / 1.163 GB, free: 292.2 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.222, allocations: 4.842 MB / 1.167 GB, free: 290.8 MB / 0.92 GB Notification: Performance of SimCode: time 0.009/1.231, allocations: 6.412 MB / 1.174 GB, free: 287.7 MB / 0.92 GB Notification: Performance of Templates: time 0.08478/1.316, allocations: 74.07 MB / 1.246 GB, free: 239.4 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating.makefile (rm -f Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating.pipe >> ../files/Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating.sim & ./Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.EnergyPlus.Examples.SingleFamilyHouse.AirHeating.pipe 2>&1)