Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 198 kB / 16.54 MB, free: 6.672 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.093/2.093, allocations: 390.3 MB / 0.6647 GB, free: 396 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.84 kB / 0.8126 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5168, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.007018/0.5238, allocations: 8.384 MB / 0.9579 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1584/0.6823, allocations: 154.5 MB / 1.109 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.6841, allocations: 43.75 kB / 1.109 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002461/0.6866, allocations: 1.096 MB / 1.11 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.6888, allocations: 1.018 MB / 1.111 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.692, allocations: 1.688 MB / 1.113 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003643/0.6957, allocations: 4.612 MB / 1.117 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.6974, allocations: 1.844 MB / 1.119 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.6993, allocations: 1.912 MB / 1.121 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.7009, allocations: 1.751 MB / 1.122 GB, free: 244 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004465/0.7014, allocations: 380 kB / 1.123 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.703, allocations: 1.147 MB / 1.124 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007224/0.7037, allocations: 0.9699 MB / 1.125 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.7051, allocations: 1.738 MB / 1.127 GB, free: 12 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004024/0.7092, allocations: 5.384 MB / 1.132 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7092, allocations: 0 / 1.132 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7092, allocations: 0 / 1.132 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.52e-05/0.7092, allocations: 0 / 1.132 GB, free: 6.602 MB / 0.8887 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.006515/0.7157, allocations: 4.085 MB / 1.136 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.7158, allocations: 12.03 kB / 1.136 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003087/0.7161, allocations: 286.9 kB / 1.136 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006948/0.723, allocations: 1.577 MB / 1.138 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.7264, allocations: 2.593 MB / 1.14 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.7266, allocations: 193.6 kB / 1.14 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/0.7269, allocations: 211.9 kB / 1.141 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005537/0.7324, allocations: 3.319 MB / 1.144 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.7325, allocations: 0 / 1.144 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.7327, allocations: 84 kB / 1.144 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/0.7327, allocations: 48 kB / 1.144 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007538/0.7403, allocations: 3.956 MB / 1.148 GB, free: 6.031 MB / 0.9044 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.01492/0.7552, allocations: 10.15 MB / 1.158 GB, free: 11.62 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006552/0.7618, allocations: 2.924 MB / 1.161 GB, free: 8.688 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002845/0.7647, allocations: 1.375 MB / 1.162 GB, free: 7.309 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007183/0.7654, allocations: 499.1 kB / 1.162 GB, free: 6.73 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00325/0.7687, allocations: 1.618 MB / 1.164 GB, free: 5.094 MB / 0.92 GB Notification: Performance of pre-optimization done (n=166): time 4.459e-06/0.7687, allocations: 0 / 1.164 GB, free: 5.094 MB / 0.92 GB Notification: Performance of matching and sorting (n=166): time 0.0115/0.7802, allocations: 4.749 MB / 1.169 GB, free: 252 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.7803, allocations: 197.2 kB / 1.169 GB, free: 12 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005145/0.7855, allocations: 3.162 MB / 1.172 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000395/0.7859, allocations: 69.69 kB / 1.172 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.787, allocations: 1.143 MB / 1.173 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007701/0.7878, allocations: 0.5508 MB / 1.174 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008753/0.7887, allocations: 399.3 kB / 1.174 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.7888, allocations: 305.1 kB / 1.174 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002878/0.7916, allocations: 1.35 MB / 1.176 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/0.7949, allocations: 1.772 MB / 1.177 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006086/0.801, allocations: 2.963 MB / 1.18 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.801, allocations: 4 kB / 1.18 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.008568/0.8096, allocations: 3.672 MB / 1.184 GB, free: 264 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.8096, allocations: 8 kB / 1.184 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.8097, allocations: 16 kB / 1.184 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.8115, allocations: 395.2 kB / 1.184 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/0.8139, allocations: 0.5343 MB / 1.185 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/0.8193, allocations: 5.721 MB / 1.19 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/0.8226, allocations: 489.7 kB / 1.191 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003212/0.8229, allocations: 83.95 kB / 1.191 GB, free: 8.566 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 21 (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 (215): * Single equations (assignments): 211 * 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.002068/0.825, allocations: 1.116 MB / 1.192 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/0.8261, allocations: 252.8 kB / 1.192 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009147/0.8352, allocations: 3.575 MB / 1.196 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/0.8353, allocations: 23.94 kB / 1.196 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.8353, allocations: 0 / 1.196 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/0.8353, allocations: 7.969 kB / 1.196 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/0.8408, allocations: 2.967 MB / 1.199 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/0.8409, allocations: 0 / 1.199 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/0.8431, allocations: 423.3 kB / 1.199 GB, free: 128 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/0.8448, allocations: 375 kB / 1.199 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002204/0.845, allocations: 67.88 kB / 1.199 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004955/0.85, allocations: 5.729 MB / 1.205 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.85, allocations: 3.938 kB / 1.205 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.8613, allocations: 4.918 MB / 1.21 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/0.863, allocations: 0.7944 MB / 1.211 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007012/0.8637, allocations: 51.89 kB / 1.211 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/0.8662, allocations: 314.2 kB / 1.211 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/0.8666, allocations: 137.8 kB / 1.211 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/0.8668, allocations: 71.94 kB / 1.211 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003757/0.8705, allocations: 2.255 MB / 1.213 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8705, allocations: 0 / 1.213 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002426/0.873, allocations: 0.8342 MB / 1.214 GB, free: 68 kB / 0.9669 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.01238/0.8854, allocations: 6.075 MB / 1.22 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01091/0.8963, allocations: 4.841 MB / 1.225 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.8964, allocations: 0 / 1.225 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003888/0.9002, allocations: 1.839 MB / 1.227 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004524/0.9048, allocations: 0.8102 MB / 1.227 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06074/0.9656, allocations: 30.78 MB / 1.257 GB, free: 1.922 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4842/1.45, allocations: 2.337 MB / 1.26 GB, free: 293.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003453/1.453, allocations: 0.8981 MB / 1.261 GB, free: 293.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/1.455, allocations: 1.151 MB / 1.262 GB, free: 293.6 MB / 1.014 GB Notification: Performance of SimCode: time 1.022e-06/1.455, allocations: 0 / 1.262 GB, free: 293.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.064/3.519, allocations: 69.93 MB / 1.33 GB, free: 244.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/17.97, allocations: 11.92 kB / 1.33 GB, free: 244.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.fmu > Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1)