Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_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.001473/0.001473, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001705/0.001705, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.559 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.272/2.272, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 60.09 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6212/0.6226, allocations: 140.4 MB / 0.949 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.005621/0.6283, allocations: 5.073 MB / 0.954 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1557/0.784, allocations: 149.2 MB / 1.1 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009816/0.7851, allocations: 19.94 kB / 1.1 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000563/0.7857, allocations: 150.8 kB / 1.1 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.7876, allocations: 0.5025 MB / 1.1 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.7898, allocations: 0.8801 MB / 1.101 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001892/0.7917, allocations: 1.703 MB / 1.103 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.7929, allocations: 0.8441 MB / 1.104 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008847/0.7938, allocations: 0.6031 MB / 1.104 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000859/0.7946, allocations: 0.6963 MB / 1.105 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.7948, allocations: 92 kB / 1.105 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.796, allocations: 0.5697 MB / 1.106 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.7963, allocations: 358.6 kB / 1.106 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006319/0.797, allocations: 0.6876 MB / 1.107 GB, free: 236 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.7992, allocations: 2.115 MB / 1.109 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7992, allocations: 4 kB / 1.109 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7992, allocations: 0 / 1.109 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.123e-05/0.7992, allocations: 0 / 1.109 GB, free: 14.11 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.003719/0.8029, allocations: 1.821 MB / 1.111 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.803, allocations: 8.031 kB / 1.111 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.8032, allocations: 190 kB / 1.111 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1056/0.9088, allocations: 15.37 MB / 1.126 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/0.9115, allocations: 1.207 MB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.841e-05/0.9116, allocations: 102.5 kB / 1.127 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/0.9121, allocations: 120 kB / 1.127 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03507/0.9472, allocations: 7.669 MB / 1.135 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.9473, allocations: 11.88 kB / 1.135 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003294/0.9476, allocations: 52 kB / 1.135 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.9476, allocations: 28 kB / 1.135 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06358/1.011, allocations: 13.58 MB / 1.148 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03949/1.051, allocations: 9.539 MB / 1.157 GB, free: 12.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03703/1.088, allocations: 7.898 MB / 1.165 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03037/1.118, allocations: 6.187 MB / 1.171 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006263/1.119, allocations: 0.6099 MB / 1.172 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03157/1.15, allocations: 6.749 MB / 1.178 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=113): time 6.192e-06/1.151, allocations: 0 / 1.178 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of matching and sorting (n=113): time 0.09368/1.244, allocations: 18.18 MB / 1.196 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.244, allocations: 192.9 kB / 1.196 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/1.246, allocations: 0.7628 MB / 1.197 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005402/1.246, allocations: 49.7 kB / 1.197 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/1.247, allocations: 0.4925 MB / 1.197 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007318/1.247, allocations: 370.7 kB / 1.198 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/1.248, allocations: 358.5 kB / 1.198 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.249, allocations: 345.9 kB / 1.198 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03084/1.279, allocations: 6.295 MB / 1.205 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03114/1.311, allocations: 6.444 MB / 1.211 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05776/1.368, allocations: 10.89 MB / 1.221 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/1.368, allocations: 0 / 1.221 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06139/1.43, allocations: 12.22 MB / 1.233 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/1.43, allocations: 4 kB / 1.233 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.43, allocations: 0 / 1.233 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/1.431, allocations: 88.83 kB / 1.234 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01801/1.449, allocations: 2.671 MB / 1.236 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/1.451, allocations: 1.504 MB / 1.238 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01739/1.468, allocations: 2.457 MB / 1.24 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005678/1.469, allocations: 103.8 kB / 1.24 GB, free: 6.672 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.solAzi.outsidePolarCircle,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,incAng.decAng.tNext,$PRE.incAng.decAng.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 (132): * Single equations (assignments): 131 * 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.001175/1.47, allocations: 329.4 kB / 1.24 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006538/1.471, allocations: 102.7 kB / 1.241 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4631/1.934, allocations: 12.72 MB / 1.253 GB, free: 287.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/1.934, allocations: 12.88 kB / 1.253 GB, free: 287.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.934, allocations: 0.8438 kB / 1.253 GB, free: 287.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.934, allocations: 11.17 kB / 1.253 GB, free: 287.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/1.936, allocations: 1.855 MB / 1.255 GB, free: 286.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.936, allocations: 0 / 1.255 GB, free: 286.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01638/1.952, allocations: 2.651 MB / 1.257 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/1.953, allocations: 86.02 kB / 1.257 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002907/1.953, allocations: 97.69 kB / 1.258 GB, free: 285.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/1.954, allocations: 1.537 MB / 1.259 GB, free: 283.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.954, allocations: 1.25 kB / 1.259 GB, free: 283.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05749/2.012, allocations: 12.09 MB / 1.271 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/2.013, allocations: 0.668 MB / 1.271 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004132/2.013, allocations: 31.3 kB / 1.272 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01522/2.029, allocations: 2.4 MB / 1.274 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/2.029, allocations: 104.2 kB / 1.274 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002842/2.029, allocations: 102.2 kB / 1.274 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005874/2.03, allocations: 0.5427 MB / 1.275 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/2.03, allocations: 0 / 1.275 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001654/2.031, allocations: 0.6936 MB / 1.275 GB, free: 275.7 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (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 (134): * Single equations (assignments): 127 * 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.05383/2.085, allocations: 13.19 MB / 1.288 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.05319/2.138, allocations: 12.87 MB / 1.301 GB, free: 252.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/2.138, allocations: 0 / 1.301 GB, free: 252.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.02752/2.166, allocations: 6.509 MB / 1.307 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/2.167, allocations: 298.9 kB / 1.307 GB, free: 246.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.177/2.344, allocations: 44.36 MB / 1.351 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/2.345, allocations: 1.151 MB / 1.352 GB, free: 200.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003578/2.349, allocations: 0.7271 MB / 1.353 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001874/2.35, allocations: 0.6278 MB / 1.353 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/2.35, allocations: 0 / 1.353 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.517/4.868, allocations: 44.09 MB / 1.396 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/4.868, allocations: 292.5 kB / 1.396 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.53/8.398, allocations: 0 / 1.396 GB, free: 154.7 MB / 0.9981 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1)