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.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.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.001736/0.001736, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.193/2.193, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 71.84 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4886, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.005159/0.4937, allocations: 5.338 MB / 0.9549 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1347/0.6284, allocations: 151.6 MB / 1.103 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009552/0.6294, allocations: 19.94 kB / 1.103 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006754/0.6301, allocations: 202 kB / 1.103 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.6321, allocations: 0.6092 MB / 1.104 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.6343, allocations: 1.029 MB / 1.105 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.6361, allocations: 1.924 MB / 1.107 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.6374, allocations: 1.006 MB / 1.108 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008946/0.6383, allocations: 0.7437 MB / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009412/0.6392, allocations: 0.8248 MB / 1.109 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.6395, allocations: 208 kB / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009969/0.6405, allocations: 0.6831 MB / 1.11 GB, free: 13 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.6408, allocations: 494.5 kB / 1.111 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005945/0.6414, allocations: 0.8591 MB / 1.111 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.6433, allocations: 2.508 MB / 1.114 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6434, allocations: 0 / 1.114 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6434, allocations: 0 / 1.114 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.6434, allocations: 0 / 1.114 GB, free: 9.137 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.002959/0.6463, allocations: 1.936 MB / 1.116 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.6464, allocations: 8.031 kB / 1.116 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001997/0.6466, allocations: 207 kB / 1.116 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1062/0.7528, allocations: 15.38 MB / 1.131 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.7551, allocations: 1.383 MB / 1.132 GB, free: 6.09 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/0.7552, allocations: 106.8 kB / 1.132 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003656/0.7556, allocations: 139.9 kB / 1.133 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03421/0.7898, allocations: 8.041 MB / 1.14 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.7898, allocations: 0 / 1.14 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/0.7901, allocations: 56 kB / 1.14 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.7902, allocations: 39.94 kB / 1.14 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06557/0.8558, allocations: 14.14 MB / 1.154 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04126/0.897, allocations: 11.13 MB / 1.165 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03848/0.9356, allocations: 8.289 MB / 1.173 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03115/0.9667, allocations: 6.491 MB / 1.18 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004636/0.9672, allocations: 0.6101 MB / 1.18 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03226/0.9995, allocations: 7.053 MB / 1.187 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=115): time 2.475e-06/0.9995, allocations: 0 / 1.187 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=115): time 0.09697/1.096, allocations: 18.94 MB / 1.206 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/1.097, allocations: 200.8 kB / 1.206 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/1.098, allocations: 0.8139 MB / 1.207 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004723/1.098, allocations: 49.7 kB / 1.207 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/1.099, allocations: 0.5431 MB / 1.207 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006673/1.099, allocations: 366.7 kB / 1.207 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/1.1, allocations: 362.4 kB / 1.208 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.101, allocations: 349.9 kB / 1.208 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03295/1.134, allocations: 6.553 MB / 1.215 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03267/1.166, allocations: 6.694 MB / 1.221 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05928/1.226, allocations: 11.2 MB / 1.232 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.226, allocations: 0 / 1.232 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06262/1.288, allocations: 12.62 MB / 1.244 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.288, allocations: 10.03 kB / 1.244 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.288, allocations: 0 / 1.244 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/1.289, allocations: 84.78 kB / 1.244 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3849/1.674, allocations: 2.667 MB / 1.247 GB, free: 287.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/1.675, allocations: 1.642 MB / 1.249 GB, free: 285.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01784/1.693, allocations: 2.457 MB / 1.251 GB, free: 285.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004338/1.694, allocations: 106.8 kB / 1.251 GB, free: 285.9 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.001012/1.695, allocations: 349.2 kB / 1.251 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005041/1.695, allocations: 109.8 kB / 1.252 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0631/1.758, allocations: 13.21 MB / 1.265 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/1.758, allocations: 14.06 kB / 1.265 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.758, allocations: 0 / 1.265 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/1.758, allocations: 9.188 kB / 1.265 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/1.761, allocations: 2.465 MB / 1.267 GB, free: 279.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.761, allocations: 0 / 1.267 GB, free: 279.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01718/1.778, allocations: 2.657 MB / 1.27 GB, free: 278 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004198/1.778, allocations: 82.52 kB / 1.27 GB, free: 278 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002771/1.778, allocations: 94.22 kB / 1.27 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/1.78, allocations: 1.667 MB / 1.271 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/1.78, allocations: 0 / 1.271 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06052/1.84, allocations: 12.57 MB / 1.284 GB, free: 269.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.842, allocations: 0.796 MB / 1.284 GB, free: 269.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004304/1.842, allocations: 35.47 kB / 1.284 GB, free: 269.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0168/1.859, allocations: 2.403 MB / 1.287 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/1.859, allocations: 101.2 kB / 1.287 GB, free: 266.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003212/1.859, allocations: 106.7 kB / 1.287 GB, free: 266.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006284/1.86, allocations: 0.581 MB / 1.288 GB, free: 266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.86, allocations: 0.6562 kB / 1.288 GB, free: 266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001738/1.862, allocations: 0.718 MB / 1.288 GB, free: 265.3 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.06005/1.922, allocations: 13.67 MB / 1.302 GB, free: 251.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06289/1.985, allocations: 13.81 MB / 1.315 GB, free: 238 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.985, allocations: 3.906 kB / 1.315 GB, free: 238 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03066/2.015, allocations: 6.802 MB / 1.322 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/2.017, allocations: 332.7 kB / 1.322 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1873/2.204, allocations: 45.89 MB / 1.367 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/2.205, allocations: 1.186 MB / 1.368 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003572/2.208, allocations: 0.7352 MB / 1.369 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/2.21, allocations: 0.6786 MB / 1.369 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/2.21, allocations: 0 / 1.369 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4436/2.654, allocations: 49.61 MB / 1.418 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/15.59, allocations: 5.438 kB / 1.418 GB, free: 132.7 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)