Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows.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: translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conExt.1..opa.T.1.|conExt.1..opa.T.2.|conExt.1..opa.T.3.|conExt.1..opa.T.4.|conExt.1..opa.T.5.|conExt.1..win.glaUns.glass_a.T|conExt.1..win.glaUns.glass_b.T|bouConExt.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows") translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conExt.1..opa.T.1.|conExt.1..opa.T.2.|conExt.1..opa.T.3.|conExt.1..opa.T.4.|conExt.1..opa.T.5.|conExt.1..win.glaUns.glass_a.T|conExt.1..win.glaUns.glass_b.T|bouConExt.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001144/0.001145, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 469.4 MB / 0.7428 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 64.12 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8251/0.8266, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows): time 0.02228/0.8489, allocations: 21.17 MB / 1.242 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1662/1.015, allocations: 162.8 MB / 1.401 GB, free: 9.684 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004815/1.02, allocations: 103.5 kB / 1.401 GB, free: 9.582 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.007448/1.028, allocations: 2.588 MB / 1.403 GB, free: 6.98 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006641/1.034, allocations: 1.862 MB / 1.405 GB, free: 5.113 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.007352/1.042, allocations: 2.598 MB / 1.408 GB, free: 2.52 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01642/1.058, allocations: 13.69 MB / 1.421 GB, free: 4.793 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008009/1.066, allocations: 5.812 MB / 1.427 GB, free: 14.89 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007609/1.074, allocations: 5.246 MB / 1.432 GB, free: 9.629 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007911/1.082, allocations: 5.158 MB / 1.437 GB, free: 4.453 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.003182/1.085, allocations: 1.043 MB / 1.438 GB, free: 3.41 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005304/1.09, allocations: 1.648 MB / 1.439 GB, free: 1.762 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00424/1.094, allocations: 2.789 MB / 1.442 GB, free: 14.96 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.009577/1.104, allocations: 5.14 MB / 1.447 GB, free: 9.801 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01877/1.123, allocations: 15.62 MB / 1.462 GB, free: 10.14 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.123, allocations: 0 / 1.462 GB, free: 10.14 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.332e-06/1.123, allocations: 0 / 1.462 GB, free: 10.14 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.000478/1.123, allocations: 4 kB / 1.462 GB, free: 10.13 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1238 * Number of variables: 1238 Notification: Performance of Generate backend data structure: time 0.03679/1.16, allocations: 11.36 MB / 1.473 GB, free: 14.65 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/1.16, allocations: 8.031 kB / 1.473 GB, free: 14.64 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04885/1.209, allocations: 9.382 MB / 1.483 GB, free: 5.238 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02364/1.233, allocations: 8.816 MB / 1.491 GB, free: 12.34 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004688/1.233, allocations: 393.6 kB / 1.492 GB, free: 11.95 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/1.236, allocations: 0.4922 MB / 1.492 GB, free: 11.46 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03012/1.266, allocations: 11.08 MB / 1.503 GB, free: 172 kB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/1.266, allocations: 11.84 kB / 1.503 GB, free: 160 kB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001116/1.267, allocations: 200 kB / 1.503 GB, free: 15.96 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.807e-05/1.268, allocations: 120 kB / 1.503 GB, free: 15.84 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02839/1.296, allocations: 11.68 MB / 1.515 GB, free: 4.145 MB / 1.232 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.07402/1.37, allocations: 42.48 MB / 1.556 GB, free: 7.754 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 1.157/2.527, allocations: 9.013 MB / 1.565 GB, free: 318.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01536/2.542, allocations: 6.057 MB / 1.571 GB, free: 317.3 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008673/2.543, allocations: 0.5706 MB / 1.571 GB, free: 316.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01487/2.558, allocations: 6.347 MB / 1.578 GB, free: 315.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=360): time 7.374e-06/2.558, allocations: 4.375 kB / 1.578 GB, free: 315.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=360): time 0.0549/2.613, allocations: 22.45 MB / 1.599 GB, free: 307.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/2.613, allocations: 332.3 kB / 1.6 GB, free: 307.1 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01412/2.627, allocations: 10.78 MB / 1.61 GB, free: 298.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001554/2.629, allocations: 105.7 kB / 1.61 GB, free: 298.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002929/2.632, allocations: 3.578 MB / 1.614 GB, free: 295 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001578/2.634, allocations: 1.222 MB / 1.615 GB, free: 293.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002045/2.636, allocations: 1.103 MB / 1.616 GB, free: 292.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.817e-05/2.636, allocations: 304.5 kB / 1.616 GB, free: 292.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01721/2.653, allocations: 7.917 MB / 1.624 GB, free: 284.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01856/2.671, allocations: 9.102 MB / 1.633 GB, free: 274.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02919/2.701, allocations: 13.48 MB / 1.646 GB, free: 261 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-05/2.701, allocations: 8 kB / 1.646 GB, free: 261 MB / 1.279 GB Notification: Performance of matching and sorting (n=540) (initialization): time 0.04935/2.75, allocations: 20.69 MB / 1.666 GB, free: 240.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/2.75, allocations: 16 kB / 1.667 GB, free: 240.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08229/2.832, allocations: 23.31 MB / 1.689 GB, free: 216.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2037/3.036, allocations: 69.11 MB / 1.757 GB, free: 147.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009816/3.046, allocations: 1.95 MB / 1.759 GB, free: 145.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/3.063, allocations: 16.6 MB / 1.775 GB, free: 128.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0136/3.077, allocations: 2.158 MB / 1.777 GB, free: 126.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/3.078, allocations: 243.8 kB / 1.777 GB, free: 125.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02256/3.1, allocations: 11.08 MB / 1.788 GB, free: 114.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01834/3.119, allocations: 9.075 MB / 1.797 GB, free: 105.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02848/3.147, allocations: 13.44 MB / 1.81 GB, free: 91.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.414e-05/3.147, allocations: 12 kB / 1.81 GB, free: 91.39 MB / 1.279 GB Notification: Performance of matching and sorting (n=540) (initialization_lambda0): time 0.04537/3.193, allocations: 18.62 MB / 1.828 GB, free: 72.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/3.193, allocations: 16 kB / 1.828 GB, free: 72.69 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03683/3.23, allocations: 15.43 MB / 1.843 GB, free: 57.21 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00489/3.235, allocations: 1.787 MB / 1.845 GB, free: 55.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0117/3.246, allocations: 2.336 MB / 1.847 GB, free: 53.06 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/3.265, allocations: 22.08 MB / 1.869 GB, free: 30.01 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01419/3.28, allocations: 2.09 MB / 1.871 GB, free: 27.92 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/3.281, allocations: 244.2 kB / 1.871 GB, free: 27.68 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * Number of states: 0 () * Number of discrete variables: 29 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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[2].incAng.decAng.tNext,$PRE.bouConExt.HDifTil[2].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDifTil[1].incAng.decAng.tNext,bouConExt.HDirTil[2].incAng.decAng.tNext,$PRE.bouConExt.HDirTil[2].incAng.decAng.tNext,bouConExt.HDirTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDirTil[1].incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (466): * Single equations (assignments): 459 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,23), (4,23), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002428/3.284, allocations: 455.1 kB / 1.872 GB, free: 27.23 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002915/3.287, allocations: 0.7134 MB / 1.872 GB, free: 26.51 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03745/3.324, allocations: 15.76 MB / 1.888 GB, free: 10.68 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.345e-05/3.324, allocations: 23.88 kB / 1.888 GB, free: 10.65 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0296/3.354, allocations: 12.16 MB / 1.9 GB, free: 14.44 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007842/3.362, allocations: 2.424 MB / 1.902 GB, free: 11.99 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003258/3.365, allocations: 99.88 kB / 1.902 GB, free: 11.89 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01133/3.376, allocations: 1.377 MB / 1.903 GB, free: 10.51 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001238/3.378, allocations: 254.7 kB / 1.904 GB, free: 10.26 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05661/3.434, allocations: 17.63 MB / 1.921 GB, free: 8.645 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04737/3.482, allocations: 18.8 MB / 1.939 GB, free: 5.777 MB / 1.326 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01425/3.496, allocations: 6.026 MB / 1.945 GB, free: 15.74 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01469/3.511, allocations: 7.641 MB / 1.953 GB, free: 8.113 MB / 1.342 GB Notification: Performance of Backend: time 7.51e-07/3.511, allocations: 0 / 1.953 GB, free: 8.113 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.05576/3.567, allocations: 19.56 MB / 1.972 GB, free: 4.715 MB / 1.358 GB Notification: Performance of SimCode: time 0.03903/3.606, allocations: 19 MB / 1.99 GB, free: 1.727 MB / 1.373 GB Notification: Performance of Templates: time 0.8954/4.501, allocations: 239.8 MB / 2.224 GB, free: 478 MB / 1.514 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWallTwoWindows.pipe 2>&1)