Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, 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.002195/0.002195, allocations: 188.3 kB / 16.13 MB, free: 6.656 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.038/3.038, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 60.12 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4303, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01373/0.444, allocations: 9.78 MB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2007/0.6448, allocations: 152.4 MB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00352/0.6484, allocations: 35.81 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005303/0.6538, allocations: 1.023 MB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007907/0.6617, allocations: 1.017 MB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00749/0.6692, allocations: 1.456 MB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01005/0.6793, allocations: 4.968 MB / 1.234 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003615/0.683, allocations: 1.738 MB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/0.6869, allocations: 1.756 MB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003386/0.6903, allocations: 1.599 MB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.6915, allocations: 176 kB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003294/0.6948, allocations: 0.9444 MB / 1.24 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.6963, allocations: 0.7511 MB / 1.241 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00397/0.7003, allocations: 1.546 MB / 1.243 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008084/0.7084, allocations: 5.293 MB / 1.248 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.7084, allocations: 4 kB / 1.248 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7084, allocations: 0 / 1.248 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001462/0.7086, allocations: 0 / 1.248 GB, free: 1.719 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 502 * Number of variables: 502 Notification: Performance of Generate backend data structure: time 0.7029/1.412, allocations: 4.099 MB / 1.252 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/1.412, allocations: 9.719 kB / 1.252 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009471/1.421, allocations: 1.584 MB / 1.253 GB, free: 181 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006024/1.427, allocations: 2.59 MB / 1.256 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/1.427, allocations: 191.1 kB / 1.256 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005942/1.428, allocations: 205.8 kB / 1.256 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007953/1.436, allocations: 3.316 MB / 1.259 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.677e-05/1.436, allocations: 7.875 kB / 1.259 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/1.436, allocations: 82.94 kB / 1.259 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/1.436, allocations: 48.19 kB / 1.26 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009545/1.446, allocations: 3.967 MB / 1.263 GB, free: 179 MB / 0.9981 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.02697/1.473, allocations: 10.51 MB / 1.274 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007615/1.481, allocations: 2.915 MB / 1.277 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003191/1.484, allocations: 1.373 MB / 1.278 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006715/1.485, allocations: 494.9 kB / 1.278 GB, free: 171 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00358/1.488, allocations: 1.628 MB / 1.28 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=166): time 4.107e-06/1.488, allocations: 0 / 1.28 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166): time 0.01314/1.501, allocations: 4.744 MB / 1.285 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.576e-05/1.501, allocations: 205.8 kB / 1.285 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006705/1.508, allocations: 3.167 MB / 1.288 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/1.509, allocations: 67.48 kB / 1.288 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00163/1.511, allocations: 1.128 MB / 1.289 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001306/1.512, allocations: 0.5448 MB / 1.29 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009857/1.513, allocations: 423.2 kB / 1.29 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.512e-05/1.513, allocations: 302.3 kB / 1.29 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003288/1.517, allocations: 1.375 MB / 1.292 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00353/1.52, allocations: 1.785 MB / 1.293 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006195/1.526, allocations: 2.981 MB / 1.296 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/1.527, allocations: 3.906 kB / 1.296 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008945/1.535, allocations: 3.718 MB / 1.3 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/1.536, allocations: 9.844 kB / 1.3 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/1.536, allocations: 9.656 kB / 1.3 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/1.538, allocations: 402.5 kB / 1.3 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/1.54, allocations: 0.5401 MB / 1.301 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004422/1.545, allocations: 5.396 MB / 1.306 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/1.549, allocations: 0.4897 MB / 1.307 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/1.549, allocations: 99.92 kB / 1.307 GB, free: 151.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDifTil[1].incAng.decAng.tNext,bouConExt.HDirTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDirTil[1].incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002114/1.551, allocations: 1.114 MB / 1.308 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008989/1.552, allocations: 252.8 kB / 1.308 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007621/1.56, allocations: 3.561 MB / 1.311 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.56, allocations: 16 kB / 1.311 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/1.56, allocations: 7.094 kB / 1.311 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/1.56, allocations: 7.969 kB / 1.311 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004504/1.564, allocations: 2.975 MB / 1.314 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.564, allocations: 0 / 1.314 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/1.566, allocations: 427.3 kB / 1.315 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/1.568, allocations: 375 kB / 1.315 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/1.568, allocations: 67.94 kB / 1.315 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/1.572, allocations: 5.394 MB / 1.32 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.572, allocations: 3.938 kB / 1.32 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.582, allocations: 4.918 MB / 1.325 GB, free: 131.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002705/1.585, allocations: 0.7941 MB / 1.326 GB, free: 131.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006268/1.586, allocations: 47.98 kB / 1.326 GB, free: 131 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/1.588, allocations: 327.4 kB / 1.326 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003846/1.588, allocations: 137.8 kB / 1.327 GB, free: 130.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.588, allocations: 67.95 kB / 1.327 GB, free: 130.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003424/1.592, allocations: 2.251 MB / 1.329 GB, free: 128.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.592, allocations: 4 kB / 1.329 GB, free: 128.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00408/1.596, allocations: 0.8681 MB / 1.33 GB, free: 127.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (conExt[1].opa.lay[1].T[1],conExt[1].opa.lay[1].T[2],conExt[1].opa.lay[2].T[1],conExt[1].opa.lay[2].T[2],conExt[1].opa.lay[2].T[3]) * Number of discrete variables: 14 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 7 (bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002425/1.598, allocations: 0.7069 MB / 1.33 GB, free: 126.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0076/1.606, allocations: 3.401 MB / 1.334 GB, free: 123.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.606, allocations: 0 / 1.334 GB, free: 123.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003275/1.609, allocations: 1.827 MB / 1.335 GB, free: 121.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004202/1.614, allocations: 0.7704 MB / 1.336 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.627, allocations: 7.712 MB / 1.344 GB, free: 113.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/1.628, allocations: 2.337 MB / 1.346 GB, free: 110.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003587/1.632, allocations: 0.9047 MB / 1.347 GB, free: 109.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008401/1.633, allocations: 227.2 kB / 1.347 GB, free: 109.6 MB / 0.9981 GB Notification: Performance of SimCode: time 2.174e-06/1.633, allocations: 0 / 1.347 GB, free: 109.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.07433/1.707, allocations: 47.01 MB / 1.393 GB, free: 63 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_1.6_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1)