Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_latest_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.001594/0.001594, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002046/0.002046, allocations: 189.9 kB / 16.25 MB, free: 6.637 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.49/1.49, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 65.31 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.334, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01538/0.3495, allocations: 9.776 MB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1901/0.5397, allocations: 152.4 MB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/0.5428, allocations: 43.81 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004361/0.5473, allocations: 1.03 MB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005125/0.5524, allocations: 1.041 MB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005365/0.5578, allocations: 1.546 MB / 1.214 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007765/0.5656, allocations: 4.961 MB / 1.219 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/0.569, allocations: 1.794 MB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004165/0.5732, allocations: 2.104 MB / 1.223 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003693/0.5769, allocations: 1.814 MB / 1.225 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001461/0.5784, allocations: 380 kB / 1.225 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004758/0.5832, allocations: 1.148 MB / 1.226 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002849/0.5861, allocations: 0.9893 MB / 1.227 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00468/0.5908, allocations: 1.785 MB / 1.229 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.6023, allocations: 5.458 MB / 1.234 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.6024, allocations: 0 / 1.234 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 5.009e-06/0.6024, allocations: 0 / 1.234 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002313/0.6026, allocations: 0 / 1.234 GB, free: 13.63 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.01427/0.6169, allocations: 4.12 MB / 1.238 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.923e-05/0.617, allocations: 8.625 kB / 1.238 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004909/0.6175, allocations: 286.9 kB / 1.239 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007786/0.6253, allocations: 1.581 MB / 1.24 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005264/0.6306, allocations: 2.593 MB / 1.243 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.6309, allocations: 189.6 kB / 1.243 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003871/0.6313, allocations: 208 kB / 1.243 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006862/0.6381, allocations: 3.323 MB / 1.246 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.6382, allocations: 0 / 1.246 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/0.6384, allocations: 84 kB / 1.246 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.6385, allocations: 48 kB / 1.246 GB, free: 1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8141/1.453, allocations: 3.959 MB / 1.25 GB, free: 189.4 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.02766/1.48, allocations: 10.52 MB / 1.261 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009031/1.489, allocations: 2.92 MB / 1.263 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004471/1.494, allocations: 1.378 MB / 1.265 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008298/1.495, allocations: 489.8 kB / 1.265 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004975/1.5, allocations: 1.619 MB / 1.267 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=166): time 6.051e-06/1.5, allocations: 3.938 kB / 1.267 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166): time 0.0163/1.516, allocations: 4.739 MB / 1.271 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/1.516, allocations: 206.4 kB / 1.272 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006986/1.523, allocations: 3.167 MB / 1.275 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000881/1.524, allocations: 66.88 kB / 1.275 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/1.526, allocations: 1.137 MB / 1.276 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.527, allocations: 0.5467 MB / 1.276 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009536/1.528, allocations: 400.8 kB / 1.277 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/1.528, allocations: 306.3 kB / 1.277 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003583/1.532, allocations: 1.353 MB / 1.278 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004193/1.536, allocations: 1.768 MB / 1.28 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007754/1.544, allocations: 2.969 MB / 1.283 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.291e-05/1.544, allocations: 3.406 kB / 1.283 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.01243/1.556, allocations: 3.672 MB / 1.287 GB, free: 176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/1.556, allocations: 8.219 kB / 1.287 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.594e-05/1.556, allocations: 13.62 kB / 1.287 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/1.559, allocations: 402.1 kB / 1.287 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/1.562, allocations: 0.5386 MB / 1.288 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005756/1.568, allocations: 5.736 MB / 1.293 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/1.572, allocations: 497.4 kB / 1.294 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007994/1.573, allocations: 90.64 kB / 1.294 GB, free: 169.9 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: 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.003652/1.577, allocations: 1.109 MB / 1.295 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001756/1.578, allocations: 246.3 kB / 1.295 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/1.591, allocations: 3.574 MB / 1.299 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/1.591, allocations: 15.84 kB / 1.299 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.239e-05/1.591, allocations: 1.188 kB / 1.299 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.551e-05/1.591, allocations: 7.969 kB / 1.299 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00719/1.598, allocations: 2.969 MB / 1.302 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.664e-05/1.598, allocations: 0 / 1.302 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/1.601, allocations: 424.3 kB / 1.302 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002113/1.603, allocations: 384.5 kB / 1.302 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006906/1.604, allocations: 67.31 kB / 1.302 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005143/1.609, allocations: 5.737 MB / 1.308 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.609, allocations: 4.031 kB / 1.308 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/1.622, allocations: 4.914 MB / 1.313 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003486/1.626, allocations: 0.7864 MB / 1.314 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001695/1.628, allocations: 51.83 kB / 1.314 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003596/1.631, allocations: 320.9 kB / 1.314 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00065/1.632, allocations: 149.5 kB / 1.314 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000441/1.633, allocations: 71.94 kB / 1.314 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005653/1.638, allocations: 2.255 MB / 1.316 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.61e-07/1.638, allocations: 0 / 1.316 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005201/1.643, allocations: 0.8628 MB / 1.317 GB, free: 149.5 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.01528/1.659, allocations: 6.074 MB / 1.323 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.671, allocations: 4.841 MB / 1.328 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.671, allocations: 0 / 1.328 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004303/1.675, allocations: 1.83 MB / 1.33 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005984/1.681, allocations: 0.841 MB / 1.33 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07226/1.753, allocations: 31.45 MB / 1.361 GB, free: 102.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003257/1.757, allocations: 2.349 MB / 1.363 GB, free: 100.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003872/1.761, allocations: 0.9164 MB / 1.364 GB, free: 99.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/1.763, allocations: 1.155 MB / 1.365 GB, free: 98.39 MB / 0.9981 GB Notification: Performance of SimCode: time 1.473e-06/1.763, allocations: 0 / 1.365 GB, free: 98.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.148/2.911, allocations: 70.28 MB / 1.434 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/2.911, allocations: 307 kB / 1.434 GB, free: 28.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.668/7.58, allocations: 0 / 1.434 GB, free: 28.36 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1)