Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_10_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.001234/0.001234, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01353/0.01353, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.626/1.626, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.856/2.856, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003335, allocations: 8 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7559/0.7562, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01154/0.7678, allocations: 9.29 MB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1854/0.9532, allocations: 150.8 MB / 1.179 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.9557, allocations: 39.75 kB / 1.179 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003512/0.9592, allocations: 1.015 MB / 1.18 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0041/0.9634, allocations: 1.021 MB / 1.181 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.9677, allocations: 1.461 MB / 1.183 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00681/0.9745, allocations: 4.957 MB / 1.188 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00332/0.9779, allocations: 1.703 MB / 1.189 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.9811, allocations: 1.572 MB / 1.191 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/0.9839, allocations: 1.392 MB / 1.192 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007024/0.9846, allocations: 100 kB / 1.192 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.9871, allocations: 0.8702 MB / 1.193 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.9882, allocations: 0.6301 MB / 1.194 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.991, allocations: 1.419 MB / 1.195 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005786/0.9968, allocations: 5.124 MB / 1.2 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9968, allocations: 4 kB / 1.2 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9968, allocations: 0 / 1.2 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.933e-05/0.9969, allocations: 0 / 1.2 GB, free: 9.777 MB / 0.9512 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.00707/1.004, allocations: 3.529 MB / 1.204 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.004, allocations: 12.03 kB / 1.204 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003902/1.004, allocations: 290.9 kB / 1.204 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007403/1.012, allocations: 1.647 MB / 1.206 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0041/1.016, allocations: 2.601 MB / 1.208 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/1.016, allocations: 185.6 kB / 1.208 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/1.017, allocations: 208 kB / 1.208 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006536/1.023, allocations: 3.35 MB / 1.212 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/1.023, allocations: 0 / 1.212 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/1.023, allocations: 80 kB / 1.212 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/1.023, allocations: 48 kB / 1.212 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008026/1.031, allocations: 4.019 MB / 1.216 GB, free: 9.605 MB / 0.9669 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.01867/1.05, allocations: 10.59 MB / 1.226 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007187/1.057, allocations: 2.924 MB / 1.229 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002987/1.06, allocations: 1.387 MB / 1.23 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007385/1.061, allocations: 491 kB / 1.231 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003282/1.064, allocations: 1.633 MB / 1.232 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=166): time 3.256e-06/1.064, allocations: 3.938 kB / 1.232 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166): time 0.01178/1.076, allocations: 4.769 MB / 1.237 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.076, allocations: 213.2 kB / 1.237 GB, free: 3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005695/1.082, allocations: 3.158 MB / 1.24 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002874/1.082, allocations: 65.64 kB / 1.24 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/1.084, allocations: 1.143 MB / 1.242 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007176/1.084, allocations: 0.5469 MB / 1.242 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004217/1.085, allocations: 165.6 kB / 1.242 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.085, allocations: 301.1 kB / 1.243 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/1.088, allocations: 1.366 MB / 1.244 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003332/1.092, allocations: 1.776 MB / 1.246 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005892/1.097, allocations: 2.975 MB / 1.249 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/1.097, allocations: 4 kB / 1.249 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.00822/1.106, allocations: 3.695 MB / 1.252 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/1.106, allocations: 10.19 kB / 1.252 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/1.106, allocations: 12 kB / 1.252 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/1.108, allocations: 391.2 kB / 1.253 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/1.11, allocations: 0.5459 MB / 1.253 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4528/1.563, allocations: 5.381 MB / 1.258 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/1.566, allocations: 0.5023 MB / 1.259 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/1.567, allocations: 88.23 kB / 1.259 GB, free: 220.7 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.001817/1.568, allocations: 1.112 MB / 1.26 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000451/1.569, allocations: 249.8 kB / 1.26 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008405/1.577, allocations: 3.574 MB / 1.264 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.577, allocations: 22.69 kB / 1.264 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.577, allocations: 1.375 kB / 1.264 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/1.577, allocations: 9.281 kB / 1.264 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/1.581, allocations: 2.97 MB / 1.267 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.581, allocations: 0.9375 kB / 1.267 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/1.583, allocations: 437.8 kB / 1.267 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/1.585, allocations: 387.2 kB / 1.267 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/1.585, allocations: 58.3 kB / 1.267 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004285/1.59, allocations: 5.385 MB / 1.273 GB, free: 213.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.59, allocations: 4 kB / 1.273 GB, free: 213.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/1.6, allocations: 4.942 MB / 1.278 GB, free: 212 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.602, allocations: 0.8233 MB / 1.278 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003575/1.602, allocations: 50.33 kB / 1.278 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/1.604, allocations: 344.2 kB / 1.279 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/1.605, allocations: 136.2 kB / 1.279 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.605, allocations: 71.28 kB / 1.279 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002925/1.608, allocations: 2.26 MB / 1.281 GB, free: 210.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.608, allocations: 0.8438 kB / 1.281 GB, free: 210.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00242/1.61, allocations: 0.8629 MB / 1.282 GB, free: 210.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.01052/1.621, allocations: 6.091 MB / 1.288 GB, free: 208 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005743/1.626, allocations: 3.38 MB / 1.291 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.626, allocations: 4.109 kB / 1.291 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00297/1.629, allocations: 1.837 MB / 1.293 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/1.632, allocations: 0.7886 MB / 1.294 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04393/1.676, allocations: 31.61 MB / 1.325 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.678, allocations: 2.348 MB / 1.327 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002595/1.68, allocations: 0.9087 MB / 1.328 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/1.682, allocations: 1.144 MB / 1.329 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.682, allocations: 0 / 1.329 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.057/3.739, allocations: 67.73 MB / 1.395 GB, free: 101.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/3.739, allocations: 305.7 kB / 1.395 GB, free: 101 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.18/7.919, allocations: 3.938 kB / 1.395 GB, free: 101 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.fmu > Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1)