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.001624/0.001624, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002246/0.002246, allocations: 194.7 kB / 16.14 MB, free: 6.734 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.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.385/2.385, allocations: 437 MB / 0.71 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4792, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01044/0.4896, allocations: 9.811 MB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1548/0.6444, allocations: 152.4 MB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.6461, allocations: 39.75 kB / 1.175 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002964/0.6492, allocations: 1.03 MB / 1.176 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.6521, allocations: 1.006 MB / 1.177 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.6554, allocations: 1.471 MB / 1.179 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004665/0.66, allocations: 4.962 MB / 1.183 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.6618, allocations: 1.735 MB / 1.185 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001896/0.6637, allocations: 1.748 MB / 1.187 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.6652, allocations: 1.6 MB / 1.188 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003045/0.6655, allocations: 180 kB / 1.189 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.6669, allocations: 0.9483 MB / 1.19 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005879/0.6675, allocations: 0.7589 MB / 1.19 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.6688, allocations: 1.547 MB / 1.192 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003693/0.6725, allocations: 5.297 MB / 1.197 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6725, allocations: 4 kB / 1.197 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.02e-07/0.6725, allocations: 0 / 1.197 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.018e-05/0.6726, allocations: 4 kB / 1.197 GB, free: 9.512 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.006664/0.6792, allocations: 4.099 MB / 1.201 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.6793, allocations: 8.031 kB / 1.201 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003211/0.6796, allocations: 290.9 kB / 1.201 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006818/0.6864, allocations: 1.584 MB / 1.203 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/0.6898, allocations: 2.597 MB / 1.205 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.69, allocations: 189.6 kB / 1.205 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002939/0.6903, allocations: 208 kB / 1.206 GB, free: 400 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005734/0.6961, allocations: 3.323 MB / 1.209 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.6961, allocations: 0 / 1.209 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.6963, allocations: 80 kB / 1.209 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.6964, allocations: 48 kB / 1.209 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007456/0.7038, allocations: 3.968 MB / 1.213 GB, free: 8.914 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.01445/0.7183, allocations: 10.51 MB / 1.223 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006093/0.7244, allocations: 2.924 MB / 1.226 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002519/0.7269, allocations: 1.375 MB / 1.227 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/0.7275, allocations: 498.8 kB / 1.228 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002874/0.7304, allocations: 1.621 MB / 1.229 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=166): time 2.695e-06/0.7304, allocations: 0 / 1.229 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166): time 0.01004/0.7405, allocations: 4.742 MB / 1.234 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.7406, allocations: 205.2 kB / 1.234 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/0.744, allocations: 3.162 MB / 1.237 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.7441, allocations: 65.69 kB / 1.237 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008291/0.745, allocations: 1.139 MB / 1.239 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004332/0.7454, allocations: 0.5468 MB / 1.239 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005936/0.746, allocations: 407.2 kB / 1.239 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.7461, allocations: 309.1 kB / 1.24 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/0.7486, allocations: 1.354 MB / 1.241 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002808/0.7515, allocations: 1.772 MB / 1.243 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005314/0.7568, allocations: 2.963 MB / 1.246 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.7568, allocations: 4 kB / 1.246 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.007116/0.7639, allocations: 3.668 MB / 1.249 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.7639, allocations: 13.5 kB / 1.249 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.764, allocations: 16.22 kB / 1.249 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.7656, allocations: 387 kB / 1.25 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.7679, allocations: 0.5382 MB / 1.25 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5694/1.337, allocations: 5.391 MB / 1.255 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003264/1.341, allocations: 489.3 kB / 1.256 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/1.341, allocations: 90.89 kB / 1.256 GB, free: 223.2 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.001729/1.343, allocations: 1.115 MB / 1.257 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005277/1.343, allocations: 249.9 kB / 1.257 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008065/1.351, allocations: 3.571 MB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.351, allocations: 17.53 kB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.351, allocations: 3.031 kB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/1.351, allocations: 10.06 kB / 1.261 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003754/1.355, allocations: 2.969 MB / 1.264 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.355, allocations: 0 / 1.264 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/1.357, allocations: 428.3 kB / 1.264 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/1.359, allocations: 380.9 kB / 1.265 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/1.359, allocations: 59.28 kB / 1.265 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004135/1.363, allocations: 5.399 MB / 1.27 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.363, allocations: 0.7812 kB / 1.27 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009602/1.373, allocations: 4.921 MB / 1.275 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.374, allocations: 0.7843 MB / 1.275 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003794/1.374, allocations: 55.55 kB / 1.276 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.377, allocations: 315.5 kB / 1.276 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/1.377, allocations: 139.7 kB / 1.276 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.377, allocations: 70.48 kB / 1.276 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00268/1.38, allocations: 2.256 MB / 1.278 GB, free: 213 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.38, allocations: 0 / 1.278 GB, free: 213 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001973/1.382, allocations: 0.8618 MB / 1.279 GB, free: 212.9 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.009891/1.392, allocations: 6.083 MB / 1.285 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005471/1.397, allocations: 3.365 MB / 1.288 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.397, allocations: 0 / 1.288 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002885/1.4, allocations: 1.826 MB / 1.29 GB, free: 207.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/1.403, allocations: 0.7878 MB / 1.291 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04209/1.445, allocations: 31.46 MB / 1.322 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/1.446, allocations: 2.344 MB / 1.324 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002554/1.449, allocations: 0.9087 MB / 1.325 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/1.45, allocations: 1.155 MB / 1.326 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/1.45, allocations: 0 / 1.326 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8184/2.268, allocations: 68.69 MB / 1.393 GB, free: 102.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/2.269, allocations: 298.3 kB / 1.393 GB, free: 102.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.228/6.497, allocations: 3.938 kB / 1.393 GB, free: 102.3 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)