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.001161/0.001161, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001074/0.001074, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.327/2.327, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 64.12 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.6095, allocations: 140.4 MB / 0.9492 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.005783/0.6153, allocations: 5.33 MB / 0.9544 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1596/0.775, allocations: 149.4 MB / 1.1 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.7762, allocations: 23.88 kB / 1.1 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008234/0.777, allocations: 158.7 kB / 1.101 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.7793, allocations: 0.5284 MB / 1.101 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.7818, allocations: 0.9324 MB / 1.102 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002312/0.7841, allocations: 1.936 MB / 1.104 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.7857, allocations: 0.9943 MB / 1.105 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.7869, allocations: 0.7552 MB / 1.106 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.7881, allocations: 0.8287 MB / 1.106 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004807/0.7886, allocations: 212 kB / 1.107 GB, free: 484 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.79, allocations: 0.6831 MB / 1.107 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000602/0.7906, allocations: 494.5 kB / 1.108 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.7919, allocations: 0.8592 MB / 1.109 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003159/0.7951, allocations: 2.508 MB / 1.111 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7951, allocations: 0 / 1.111 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7951, allocations: 0 / 1.111 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.035e-05/0.7952, allocations: 4 kB / 1.111 GB, free: 11.92 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.004199/0.7994, allocations: 1.94 MB / 1.113 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.7994, allocations: 8.031 kB / 1.113 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002226/0.7997, allocations: 203 kB / 1.113 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1092/0.9089, allocations: 15.39 MB / 1.128 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.9117, allocations: 1.383 MB / 1.129 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.9118, allocations: 102.8 kB / 1.13 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006518/0.9125, allocations: 136 kB / 1.13 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03806/0.9505, allocations: 8.045 MB / 1.138 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.9506, allocations: 0 / 1.138 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005304/0.9512, allocations: 56 kB / 1.138 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.9512, allocations: 32 kB / 1.138 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06841/1.02, allocations: 14.14 MB / 1.151 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04466/1.064, allocations: 11.13 MB / 1.162 GB, free: 7.047 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04115/1.105, allocations: 8.287 MB / 1.17 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03299/1.139, allocations: 6.497 MB / 1.177 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005416/1.139, allocations: 0.6022 MB / 1.177 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03428/1.173, allocations: 7.053 MB / 1.184 GB, free: 432 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=115): time 3.627e-06/1.173, allocations: 8 kB / 1.184 GB, free: 424 kB / 0.9356 GB Notification: Performance of matching and sorting (n=115): time 0.09983/1.273, allocations: 18.94 MB / 1.203 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/1.273, allocations: 192.9 kB / 1.203 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/1.275, allocations: 0.8216 MB / 1.204 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0009371/1.276, allocations: 45.7 kB / 1.204 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006505/1.277, allocations: 0.5432 MB / 1.204 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.278, allocations: 374.6 kB / 1.205 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001744/1.28, allocations: 362.3 kB / 1.205 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.28, allocations: 353.9 kB / 1.205 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03284/1.313, allocations: 6.545 MB / 1.212 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03205/1.345, allocations: 6.694 MB / 1.218 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06056/1.406, allocations: 11.2 MB / 1.229 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/1.406, allocations: 4 kB / 1.229 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06636/1.472, allocations: 12.62 MB / 1.242 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.472, allocations: 4 kB / 1.242 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.472, allocations: 4 kB / 1.242 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006378/1.473, allocations: 92.77 kB / 1.242 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01821/1.491, allocations: 2.671 MB / 1.244 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/1.493, allocations: 1.647 MB / 1.246 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3972/1.89, allocations: 2.453 MB / 1.248 GB, free: 287 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005821/1.891, allocations: 101.7 kB / 1.248 GB, free: 287 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.001109/1.892, allocations: 342.7 kB / 1.249 GB, free: 286.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005517/1.893, allocations: 109.6 kB / 1.249 GB, free: 286.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06766/1.96, allocations: 13.21 MB / 1.262 GB, free: 283 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/1.96, allocations: 17.56 kB / 1.262 GB, free: 283 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.96, allocations: 0 / 1.262 GB, free: 283 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/1.96, allocations: 7.969 kB / 1.262 GB, free: 283 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/1.963, allocations: 2.462 MB / 1.264 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.963, allocations: 0 / 1.264 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01931/1.982, allocations: 2.657 MB / 1.267 GB, free: 279.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005062/1.983, allocations: 75.22 kB / 1.267 GB, free: 279.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005342/1.983, allocations: 99.95 kB / 1.267 GB, free: 279.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/1.985, allocations: 1.678 MB / 1.268 GB, free: 278.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.985, allocations: 0 / 1.268 GB, free: 278.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06348/2.048, allocations: 12.56 MB / 1.281 GB, free: 271.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/2.05, allocations: 0.8084 MB / 1.282 GB, free: 271.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004793/2.05, allocations: 27.41 kB / 1.282 GB, free: 271 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01705/2.067, allocations: 2.405 MB / 1.284 GB, free: 269.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/2.067, allocations: 97.17 kB / 1.284 GB, free: 269.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003365/2.068, allocations: 103.8 kB / 1.284 GB, free: 269.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006312/2.068, allocations: 0.5771 MB / 1.285 GB, free: 268.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/2.068, allocations: 3.75 kB / 1.285 GB, free: 268.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001798/2.07, allocations: 0.7223 MB / 1.285 GB, free: 268 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.06289/2.133, allocations: 13.65 MB / 1.299 GB, free: 254.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06526/2.198, allocations: 13.81 MB / 1.312 GB, free: 240.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/2.198, allocations: 3.281 kB / 1.312 GB, free: 240.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03095/2.229, allocations: 6.813 MB / 1.319 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/2.231, allocations: 334.2 kB / 1.319 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1905/2.422, allocations: 46.48 MB / 1.365 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/2.422, allocations: 1.19 MB / 1.366 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003835/2.426, allocations: 0.7352 MB / 1.366 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001928/2.428, allocations: 0.6747 MB / 1.367 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/2.428, allocations: 4 kB / 1.367 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.887/4.315, allocations: 49.31 MB / 1.415 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/4.315, allocations: 269.1 kB / 1.416 GB, free: 134.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.983/8.299, allocations: 4 kB / 1.416 GB, free: 134.8 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)