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.007089/0.007089, allocations: 99.66 kB / 15.73 MB, free: 6.047 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.001641/0.001641, allocations: 188 kB / 16.67 MB, free: 5.977 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.225/2.225, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 62.44 kB / 0.9504 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2923, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01053/0.3029, allocations: 8.397 MB / 1.096 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1573/0.4602, allocations: 154.5 MB / 1.247 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.4621, allocations: 47.69 kB / 1.247 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.4654, allocations: 1.107 MB / 1.248 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.4688, allocations: 1.027 MB / 1.249 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004489/0.4733, allocations: 1.68 MB / 1.25 GB, free: 10.61 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006422/0.4797, allocations: 4.629 MB / 1.255 GB, free: 5.973 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/0.4826, allocations: 1.841 MB / 1.257 GB, free: 4.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/0.4862, allocations: 1.979 MB / 1.259 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00308/0.4893, allocations: 1.685 MB / 1.26 GB, free: 424 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008259/0.4901, allocations: 372 kB / 1.261 GB, free: 52 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5867/1.077, allocations: 1.159 MB / 1.262 GB, free: 9.414 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00145/1.078, allocations: 0.9939 MB / 1.263 GB, free: 9.414 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002393/1.081, allocations: 1.734 MB / 1.264 GB, free: 9.414 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0068/1.088, allocations: 5.433 MB / 1.27 GB, free: 9.23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.088, allocations: 0.6562 kB / 1.27 GB, free: 9.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/1.088, allocations: 0 / 1.27 GB, free: 9.23 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001128/1.088, allocations: 0.5312 kB / 1.27 GB, free: 9.23 MB / 1.014 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.01092/1.099, allocations: 4.07 MB / 1.274 GB, free: 7.641 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.099, allocations: 9.859 kB / 1.274 GB, free: 7.641 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005352/1.099, allocations: 287.8 kB / 1.274 GB, free: 7.594 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008854/1.108, allocations: 1.58 MB / 1.275 GB, free: 7.418 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005928/1.114, allocations: 2.67 MB / 1.278 GB, free: 6.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/1.114, allocations: 188 kB / 1.278 GB, free: 6.785 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007799/1.115, allocations: 208.5 kB / 1.278 GB, free: 6.785 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008366/1.123, allocations: 3.305 MB / 1.282 GB, free: 6.574 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.74e-05/1.124, allocations: 8.047 kB / 1.282 GB, free: 6.574 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002804/1.124, allocations: 85.11 kB / 1.282 GB, free: 6.574 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/1.124, allocations: 48.25 kB / 1.282 GB, free: 6.574 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009271/1.133, allocations: 3.948 MB / 1.286 GB, free: 6.559 MB / 1.014 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.02064/1.154, allocations: 10.02 MB / 1.295 GB, free: 4.293 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007171/1.161, allocations: 2.902 MB / 1.298 GB, free: 4.242 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/1.164, allocations: 1.381 MB / 1.3 GB, free: 4.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000598/1.165, allocations: 494.1 kB / 1.3 GB, free: 3.758 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003214/1.168, allocations: 1.614 MB / 1.302 GB, free: 3.672 MB / 1.014 GB Notification: Performance of pre-optimization done (n=166): time 3.707e-06/1.168, allocations: 2.438 kB / 1.302 GB, free: 3.672 MB / 1.014 GB Notification: Performance of matching and sorting (n=166): time 0.01129/1.179, allocations: 4.701 MB / 1.306 GB, free: 3.066 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/1.179, allocations: 199 kB / 1.306 GB, free: 2.844 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004605/1.184, allocations: 3.114 MB / 1.31 GB, free: 2.605 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005014/1.184, allocations: 65.62 kB / 1.31 GB, free: 2.574 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000911/1.185, allocations: 1.132 MB / 1.311 GB, free: 2.227 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006182/1.186, allocations: 0.5446 MB / 1.311 GB, free: 1.879 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007023/1.187, allocations: 406.9 kB / 1.312 GB, free: 1.852 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.502e-05/1.187, allocations: 305.1 kB / 1.312 GB, free: 1.551 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00275/1.189, allocations: 1.348 MB / 1.313 GB, free: 1.547 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/1.192, allocations: 1.762 MB / 1.315 GB, free: 1.125 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00564/1.198, allocations: 2.958 MB / 1.318 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/1.198, allocations: 7.031 kB / 1.318 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.008279/1.206, allocations: 3.646 MB / 1.321 GB, free: 416 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/1.206, allocations: 9.094 kB / 1.321 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/1.206, allocations: 11.62 kB / 1.321 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/1.208, allocations: 368.4 kB / 1.322 GB, free: 332 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/1.211, allocations: 0.5396 MB / 1.322 GB, free: 316 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004751/1.215, allocations: 5.701 MB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004454/1.22, allocations: 484.2 kB / 1.328 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004725/1.22, allocations: 85.98 kB / 1.328 GB, free: 11.12 MB / 1.029 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.002367/1.223, allocations: 1.111 MB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009418/1.224, allocations: 253.3 kB / 1.33 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008297/1.232, allocations: 3.532 MB / 1.333 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/1.232, allocations: 16.5 kB / 1.333 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.232, allocations: 6.781 kB / 1.333 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/1.232, allocations: 14.36 kB / 1.333 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004771/1.237, allocations: 2.959 MB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/1.237, allocations: 0 / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/1.239, allocations: 437.5 kB / 1.337 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/1.241, allocations: 338.3 kB / 1.337 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003409/1.241, allocations: 61.31 kB / 1.337 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00478/1.246, allocations: 5.713 MB / 1.342 GB, free: 2.309 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.246, allocations: 4.062 kB / 1.342 GB, free: 2.305 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/1.257, allocations: 4.883 MB / 1.347 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002328/1.26, allocations: 0.7886 MB / 1.348 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006629/1.26, allocations: 55.12 kB / 1.348 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.263, allocations: 303.1 kB / 1.348 GB, free: 14.96 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003486/1.263, allocations: 130.2 kB / 1.348 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/1.264, allocations: 64.7 kB / 1.349 GB, free: 14.87 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003705/1.267, allocations: 2.23 MB / 1.351 GB, free: 13.7 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.31e-07/1.267, allocations: 0 / 1.351 GB, free: 13.7 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003262/1.271, allocations: 0.8302 MB / 1.352 GB, free: 13.51 MB / 1.045 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.01203/1.283, allocations: 6.046 MB / 1.357 GB, free: 10.18 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007343/1.29, allocations: 3.356 MB / 1.361 GB, free: 8.406 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.29, allocations: 2.656 kB / 1.361 GB, free: 8.406 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003536/1.294, allocations: 1.822 MB / 1.363 GB, free: 7.367 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003792/1.297, allocations: 0.8091 MB / 1.363 GB, free: 6.949 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0591/1.357, allocations: 27.64 MB / 1.39 GB, free: 12.28 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003686/1.36, allocations: 2.348 MB / 1.393 GB, free: 9.898 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.004633/1.365, allocations: 0.9163 MB / 1.393 GB, free: 8.977 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003523/1.368, allocations: 1.147 MB / 1.395 GB, free: 7.828 MB / 1.076 GB Notification: Performance of SimCode: time 1.713e-06/1.368, allocations: 4 kB / 1.395 GB, free: 7.824 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/1.487, allocations: 70.26 MB / 1.463 GB, free: 2.152 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.52/19, allocations: 3.938 kB / 1.463 GB, free: 2.148 MB / 1.139 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)