Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade.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.FixedShade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_FixedShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.FixedShade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_FixedShade",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.001408/0.001408, allocations: 108 kB / 15.61 MB, free: 148 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.001362/0.001362, allocations: 195.5 kB / 16.53 MB, free: 6.695 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.438 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.237/2.237, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7043/0.7056, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.009035/0.7147, allocations: 7.927 MB / 0.9574 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1409/0.8556, allocations: 156 MB / 1.11 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.857, allocations: 35.81 kB / 1.11 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003749/0.8608, allocations: 1.648 MB / 1.111 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.863, allocations: 0.8417 MB / 1.112 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.8654, allocations: 1.19 MB / 1.113 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005343/0.8707, allocations: 6.946 MB / 1.12 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/0.8736, allocations: 3.174 MB / 1.123 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/0.8767, allocations: 3.013 MB / 1.126 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.8794, allocations: 3.269 MB / 1.129 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008152/0.8802, allocations: 0.6055 MB / 1.13 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.8821, allocations: 1.085 MB / 1.131 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.8835, allocations: 1.901 MB / 1.133 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002907/0.8864, allocations: 3.323 MB / 1.136 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007436/0.8938, allocations: 9.374 MB / 1.145 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8939, allocations: 0 / 1.145 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8939, allocations: 0 / 1.145 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001692/0.8941, allocations: 3.938 kB / 1.145 GB, free: 8.723 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 979 * Number of variables: 979 Notification: Performance of Generate backend data structure: time 0.01125/0.9053, allocations: 7.171 MB / 1.152 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.9054, allocations: 8.031 kB / 1.152 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006037/0.906, allocations: 0.5383 MB / 1.153 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3095/1.215, allocations: 76.65 MB / 1.228 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/1.229, allocations: 7.317 MB / 1.235 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/1.229, allocations: 311.6 kB / 1.235 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001996/1.231, allocations: 380 kB / 1.236 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4815/1.713, allocations: 35.97 MB / 1.271 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.771e-05/1.713, allocations: 25.06 kB / 1.271 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009216/1.714, allocations: 176.9 kB / 1.271 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.336e-05/1.714, allocations: 101.8 kB / 1.271 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1826/1.897, allocations: 63.57 MB / 1.333 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1259/2.022, allocations: 62.22 MB / 1.394 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1126/2.135, allocations: 40.55 MB / 1.433 GB, free: 109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08592/2.221, allocations: 30.49 MB / 1.463 GB, free: 78.42 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004392/2.222, allocations: 0.6557 MB / 1.464 GB, free: 77.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.08879/2.31, allocations: 31.98 MB / 1.495 GB, free: 45.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=269): time 4.648e-06/2.31, allocations: 0 / 1.495 GB, free: 45.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=269): time 0.2734/2.584, allocations: 88.03 MB / 1.581 GB, free: 5.312 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/2.584, allocations: 320.8 kB / 1.581 GB, free: 4.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01133/2.595, allocations: 7.001 MB / 1.588 GB, free: 13.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001335/2.597, allocations: 81.7 kB / 1.588 GB, free: 13.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0024/2.599, allocations: 2.822 MB / 1.591 GB, free: 11.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001776/2.601, allocations: 0.8869 MB / 1.592 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003693/2.605, allocations: 1.253 MB / 1.593 GB, free: 8.875 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.429e-05/2.605, allocations: 301.1 kB / 1.593 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0976/2.702, allocations: 30.5 MB / 1.623 GB, free: 10.03 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09868/2.801, allocations: 31.86 MB / 1.654 GB, free: 9.547 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5481/3.349, allocations: 54.16 MB / 1.707 GB, free: 401 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-05/3.349, allocations: 10.75 kB / 1.707 GB, free: 401 MB / 1.139 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.1755/3.525, allocations: 59.03 MB / 1.765 GB, free: 352.7 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/3.525, allocations: 27.94 kB / 1.765 GB, free: 352.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/3.525, allocations: 36 kB / 1.765 GB, free: 352.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/3.525, allocations: 141.2 kB / 1.765 GB, free: 352.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04809/3.573, allocations: 13.11 MB / 1.778 GB, free: 339.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01896/3.592, allocations: 1.777 MB / 1.78 GB, free: 337.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04804/3.641, allocations: 12.49 MB / 1.792 GB, free: 325.2 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/3.642, allocations: 323.5 kB / 1.792 GB, free: 324.9 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 169 * Number of states: 0 () * Number of discrete variables: 54 (sha[4].idxSou.y,sha[3].idxSou.y,sha[2].idxSou.y,sha[1].idxSou.y,sha[1].ove.solAzi.outsidePolarCircle,sha[2].ove.solAzi.outsidePolarCircle,sha[3].ove.solAzi.outsidePolarCircle,sha[4].ove.solAzi.outsidePolarCircle,sha[4].extFraSun.index,$PRE.sha[4].extFraSun.index,sha[3].extFraSun.index,$PRE.sha[3].extFraSun.index,sha[2].extFraSun.index,$PRE.sha[2].extFraSun.index,sha[1].extFraSun.index,$PRE.sha[1].extFraSun.index,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,sha[4].extFraSun.k[4],sha[4].extFraSun.k[3],sha[4].extFraSun.k[2],sha[4].extFraSun.k[1],sha[3].extFraSun.k[4],sha[3].extFraSun.k[3],sha[3].extFraSun.k[2],sha[3].extFraSun.k[1],sha[2].extFraSun.k[4],sha[2].extFraSun.k[3],sha[2].extFraSun.k[2],sha[2].extFraSun.k[1],sha[1].extFraSun.k[4],sha[1].extFraSun.k[3],sha[1].extFraSun.k[2],sha[1].extFraSun.k[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (474): * Single equations (assignments): 473 * 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.003754/3.646, allocations: 2.368 MB / 1.794 GB, free: 322.5 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/3.647, allocations: 0.5476 MB / 1.795 GB, free: 322 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.173/3.82, allocations: 59.88 MB / 1.853 GB, free: 262 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/3.82, allocations: 31.94 kB / 1.853 GB, free: 261.9 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/3.82, allocations: 0 / 1.853 GB, free: 261.9 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.734e-05/3.82, allocations: 15.95 kB / 1.853 GB, free: 261.9 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1877/4.008, allocations: 70.11 MB / 1.922 GB, free: 191.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/4.008, allocations: 8.891 kB / 1.922 GB, free: 191.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04802/4.056, allocations: 12.73 MB / 1.934 GB, free: 178.9 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/4.057, allocations: 80.78 kB / 1.934 GB, free: 178.9 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001163/4.058, allocations: 211.6 kB / 1.935 GB, free: 178.6 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/4.059, allocations: 1.744 MB / 1.936 GB, free: 176.8 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/4.059, allocations: 0 / 1.936 GB, free: 176.8 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1742/4.233, allocations: 57.91 MB / 1.993 GB, free: 118.7 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005441/4.239, allocations: 2.988 MB / 1.996 GB, free: 115.7 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/4.24, allocations: 67.95 kB / 1.996 GB, free: 115.6 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04601/4.286, allocations: 12.15 MB / 2.008 GB, free: 103.4 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/4.287, allocations: 178.1 kB / 2.008 GB, free: 103.3 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006974/4.287, allocations: 243.5 kB / 2.008 GB, free: 103 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.004961/4.292, allocations: 4.905 MB / 2.013 GB, free: 98.12 MB / 1.139 GB Notification: Performance of sort global known variables: time 2e-07/4.292, allocations: 0 / 2.013 GB, free: 98.12 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004326/4.297, allocations: 2.154 MB / 2.015 GB, free: 95.98 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sha[1].extFraSun.k[1],sha[1].extFraSun.k[2],sha[1].extFraSun.k[3],sha[1].extFraSun.k[4],sha[2].extFraSun.k[1],sha[2].extFraSun.k[2],sha[2].extFraSun.k[3],sha[2].extFraSun.k[4],sha[3].extFraSun.k[1],sha[3].extFraSun.k[2],sha[3].extFraSun.k[3],sha[3].extFraSun.k[4],sha[4].extFraSun.k[1],sha[4].extFraSun.k[2],sha[4].extFraSun.k[3],sha[4].extFraSun.k[4],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.conTimMin.tNext,HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 22 * 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.1729/4.47, allocations: 59.08 MB / 2.073 GB, free: 36.97 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.5558/5.025, allocations: 67.9 MB / 2.139 GB, free: 399.9 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/5.025, allocations: 0 / 2.139 GB, free: 399.9 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.09015/5.116, allocations: 30.89 MB / 2.169 GB, free: 372.1 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006162/5.122, allocations: 1.387 MB / 2.171 GB, free: 370.8 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5908/5.713, allocations: 241 MB / 2.406 GB, free: 123.6 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002708/5.715, allocations: 4.176 MB / 2.41 GB, free: 119.4 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.01204/5.727, allocations: 4.406 MB / 2.414 GB, free: 115 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006028/5.733, allocations: 2.705 MB / 2.417 GB, free: 112.3 MB / 1.139 GB Notification: Performance of SimCode: time 8.71e-07/5.733, allocations: 0 / 2.417 GB, free: 112.3 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.571/7.305, allocations: 190.4 MB / 2.603 GB, free: 352.7 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.18/23.49, allocations: 21.94 kB / 2.603 GB, free: 352.7 MB / 1.139 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_FixedShade_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_FixedShade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)