Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang",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.000931/0.0009311, 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.005073/0.005073, 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004668, allocations: 11.98 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5729/0.5734, allocations: 142.4 MB / 0.9552 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.004102/0.5775, allocations: 4.896 MB / 0.9599 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1265/0.704, allocations: 147.3 MB / 1.104 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007892/0.7048, allocations: 19.88 kB / 1.104 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.7053, allocations: 154.8 kB / 1.104 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.7069, allocations: 0.5238 MB / 1.104 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.7088, allocations: 0.9028 MB / 1.105 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.7105, allocations: 1.831 MB / 1.107 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.7115, allocations: 0.9442 MB / 1.108 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006746/0.7122, allocations: 0.5054 MB / 1.109 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006358/0.7128, allocations: 0.5959 MB / 1.109 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.599e-05/0.713, allocations: 40 kB / 1.109 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008046/0.7138, allocations: 0.519 MB / 1.11 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.714, allocations: 294.6 kB / 1.11 GB, free: 284 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004653/0.7145, allocations: 0.6655 MB / 1.111 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.7161, allocations: 2.324 MB / 1.113 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7161, allocations: 0 / 1.113 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7161, allocations: 3.938 kB / 1.113 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.7161, allocations: 0 / 1.113 GB, free: 13.27 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.002559/0.7187, allocations: 1.605 MB / 1.114 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.7188, allocations: 12.03 kB / 1.114 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/0.719, allocations: 203 kB / 1.115 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1153/0.8342, allocations: 20.93 MB / 1.135 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.8364, allocations: 1.383 MB / 1.136 GB, free: 5 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.8364, allocations: 106.8 kB / 1.137 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004239/0.8369, allocations: 136 kB / 1.137 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0363/0.8732, allocations: 9.721 MB / 1.146 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.8732, allocations: 4 kB / 1.146 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/0.8736, allocations: 56 kB / 1.146 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.8736, allocations: 32 kB / 1.146 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06993/0.9435, allocations: 17.5 MB / 1.163 GB, free: 9.363 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04264/0.9862, allocations: 12.89 MB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04119/1.027, allocations: 9.998 MB / 1.186 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0338/1.061, allocations: 8.171 MB / 1.194 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00045/1.062, allocations: 0.6139 MB / 1.194 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03441/1.096, allocations: 8.729 MB / 1.203 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=115): time 2.434e-06/1.096, allocations: 0 / 1.203 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of matching and sorting (n=115): time 0.101/1.197, allocations: 23.88 MB / 1.226 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/1.197, allocations: 196.9 kB / 1.226 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.198, allocations: 0.8139 MB / 1.227 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003041/1.198, allocations: 45.7 kB / 1.227 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/1.199, allocations: 0.5432 MB / 1.228 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005324/1.199, allocations: 374.6 kB / 1.228 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/1.2, allocations: 93.66 kB / 1.228 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.2, allocations: 349.9 kB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03541/1.235, allocations: 8.228 MB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03547/1.271, allocations: 8.37 MB / 1.245 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4831/1.754, allocations: 14.34 MB / 1.259 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.754, allocations: 4 kB / 1.259 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06536/1.819, allocations: 15.87 MB / 1.274 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.819, allocations: 3.938 kB / 1.274 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.819, allocations: 0 / 1.274 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005208/1.82, allocations: 93.98 kB / 1.274 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01751/1.837, allocations: 3.531 MB / 1.278 GB, free: 277.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/1.839, allocations: 1.538 MB / 1.279 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01822/1.857, allocations: 3.333 MB / 1.282 GB, free: 272.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/1.858, allocations: 103.8 kB / 1.283 GB, free: 272.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (ove.ove.solAzi.outsidePolarCircle,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008909/1.858, allocations: 342.8 kB / 1.283 GB, free: 271.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/1.859, allocations: 112.7 kB / 1.283 GB, free: 271.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06511/1.924, allocations: 16.45 MB / 1.299 GB, free: 255.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/1.924, allocations: 12 kB / 1.299 GB, free: 255.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.924, allocations: 0 / 1.299 GB, free: 255.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/1.924, allocations: 7.984 kB / 1.299 GB, free: 255.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/1.926, allocations: 2.472 MB / 1.301 GB, free: 252.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.926, allocations: 0 / 1.301 GB, free: 252.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01858/1.944, allocations: 3.519 MB / 1.305 GB, free: 249.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/1.945, allocations: 84.78 kB / 1.305 GB, free: 249.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/1.945, allocations: 99.8 kB / 1.305 GB, free: 249.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/1.947, allocations: 1.554 MB / 1.307 GB, free: 247.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.947, allocations: 3.938 kB / 1.307 GB, free: 247.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06423/2.011, allocations: 15.81 MB / 1.322 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/2.012, allocations: 0.8267 MB / 1.323 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/2.012, allocations: 31.92 kB / 1.323 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01708/2.029, allocations: 3.277 MB / 1.326 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/2.029, allocations: 101.2 kB / 1.326 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002761/2.03, allocations: 107.8 kB / 1.326 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005835/2.03, allocations: 0.5771 MB / 1.327 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/2.03, allocations: 3.5 kB / 1.327 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001606/2.032, allocations: 0.722 MB / 1.328 GB, free: 225.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.068/2.1, allocations: 16.91 MB / 1.344 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06587/2.166, allocations: 16.79 MB / 1.36 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/2.166, allocations: 4.25 kB / 1.36 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03268/2.199, allocations: 8.475 MB / 1.369 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/2.2, allocations: 305.6 kB / 1.369 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2045/2.405, allocations: 56.5 MB / 1.424 GB, free: 126.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/2.405, allocations: 1.19 MB / 1.425 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003321/2.409, allocations: 0.7391 MB / 1.426 GB, free: 124.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001871/2.41, allocations: 0.6747 MB / 1.427 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/2.41, allocations: 0 / 1.427 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.562/3.973, allocations: 47.2 MB / 1.473 GB, free: 77.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/3.973, allocations: 272.3 kB / 1.473 GB, free: 76.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/6.9, allocations: 0 / 1.473 GB, free: 76.77 MB / 0.9981 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1)