Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_HeatTransfer_Windows_Examples_FixedShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.FixedShade,fileNamePrefix="Buildings_latest_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.00777/0.00777, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.00218/0.00218, allocations: 188.4 kB / 16.67 MB, free: 5.918 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.575/2.575, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 63.88 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2773, allocations: 162.3 MB / 1.242 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.01054/0.2879, allocations: 9.154 MB / 1.251 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6571/0.945, allocations: 156.4 MB / 1.404 GB, free: 9.395 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.9465, allocations: 37.66 kB / 1.404 GB, free: 9.383 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00446/0.951, allocations: 1.682 MB / 1.405 GB, free: 8.25 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.9544, allocations: 0.9467 MB / 1.406 GB, free: 7.496 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.9581, allocations: 1.206 MB / 1.407 GB, free: 6.574 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008894/0.967, allocations: 7.433 MB / 1.415 GB, free: 2.098 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003375/0.9704, allocations: 3.134 MB / 1.418 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00396/0.9744, allocations: 3.085 MB / 1.421 GB, free: 14.87 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003902/0.9783, allocations: 3.328 MB / 1.424 GB, free: 12.7 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001127/0.9795, allocations: 0.6038 MB / 1.424 GB, free: 12.13 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.9819, allocations: 1.101 MB / 1.426 GB, free: 11.03 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001759/0.9837, allocations: 1.889 MB / 1.427 GB, free: 9.137 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003643/0.9873, allocations: 3.417 MB / 1.431 GB, free: 5.703 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.009732/0.9971, allocations: 9.688 MB / 1.44 GB, free: 11.98 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9971, allocations: 0 / 1.44 GB, free: 11.98 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9971, allocations: 0 / 1.44 GB, free: 11.98 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.000148/0.9973, allocations: 0 / 1.44 GB, free: 11.98 MB / 1.139 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.01178/1.009, allocations: 7.45 MB / 1.447 GB, free: 4.434 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/1.009, allocations: 12.03 kB / 1.447 GB, free: 4.422 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006675/1.01, allocations: 0.5344 MB / 1.448 GB, free: 3.879 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3189/1.329, allocations: 76.69 MB / 1.523 GB, free: 7.047 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/1.342, allocations: 7.553 MB / 1.53 GB, free: 15.43 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/1.342, allocations: 307.7 kB / 1.531 GB, free: 15.12 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/1.343, allocations: 384 kB / 1.531 GB, free: 14.75 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.11/1.453, allocations: 35.98 MB / 1.566 GB, free: 10.22 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.369e-05/1.453, allocations: 19.81 kB / 1.566 GB, free: 10.2 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009584/1.454, allocations: 188 kB / 1.566 GB, free: 10.02 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-05/1.454, allocations: 100 kB / 1.566 GB, free: 9.918 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2068/1.661, allocations: 63.57 MB / 1.628 GB, free: 10.25 MB / 1.326 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1459/1.807, allocations: 63.32 MB / 1.69 GB, free: 9.906 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1286/1.936, allocations: 40.56 MB / 1.73 GB, free: 1.281 MB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.09963/2.035, allocations: 30.48 MB / 1.76 GB, free: 2.746 MB / 1.451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006473/2.036, allocations: 0.6581 MB / 1.76 GB, free: 1.957 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1008/2.137, allocations: 31.98 MB / 1.792 GB, free: 1.863 MB / 1.482 GB Notification: Performance of pre-optimization done (n=269): time 4.278e-06/2.137, allocations: 0 / 1.792 GB, free: 1.863 MB / 1.482 GB Notification: Performance of matching and sorting (n=269): time 0.7543/2.891, allocations: 88.06 MB / 1.878 GB, free: 0.4944 GB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/2.891, allocations: 316.3 kB / 1.878 GB, free: 0.494 GB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008164/2.899, allocations: 6.958 MB / 1.885 GB, free: 0.4907 GB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.001235/2.901, allocations: 81.05 kB / 1.885 GB, free: 0.4906 GB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.001824/2.902, allocations: 2.871 MB / 1.887 GB, free: 0.4886 GB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.001123/2.904, allocations: 0.9255 MB / 1.888 GB, free: 499.7 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002854/2.906, allocations: 1.256 MB / 1.89 GB, free: 499 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 3.463e-05/2.906, allocations: 313.9 kB / 1.89 GB, free: 498.7 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08913/2.996, allocations: 30.5 MB / 1.92 GB, free: 483.3 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08688/3.083, allocations: 31.86 MB / 1.951 GB, free: 451.5 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1593/3.242, allocations: 54.15 MB / 2.004 GB, free: 396.7 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-05/3.242, allocations: 12 kB / 2.004 GB, free: 396.7 MB / 1.514 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.1694/3.411, allocations: 59.07 MB / 2.061 GB, free: 337.5 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/3.411, allocations: 20 kB / 2.061 GB, free: 337.5 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/3.411, allocations: 36 kB / 2.061 GB, free: 337.4 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/3.412, allocations: 145 kB / 2.062 GB, free: 337.3 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04665/3.459, allocations: 13.11 MB / 2.074 GB, free: 324.2 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/3.46, allocations: 1.784 MB / 2.076 GB, free: 322.2 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04591/3.506, allocations: 12.5 MB / 2.088 GB, free: 309.8 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001506/3.508, allocations: 323.5 kB / 2.089 GB, free: 309.5 MB / 1.514 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.00361/3.511, allocations: 2.36 MB / 2.091 GB, free: 307.1 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/3.513, allocations: 0.5743 MB / 2.092 GB, free: 306.6 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1722/3.685, allocations: 59.87 MB / 2.15 GB, free: 246.6 MB / 1.514 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/3.685, allocations: 35.94 kB / 2.15 GB, free: 246.6 MB / 1.514 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/3.685, allocations: 1.641 kB / 2.15 GB, free: 246.6 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/3.685, allocations: 16.97 kB / 2.15 GB, free: 246.5 MB / 1.514 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.181/3.866, allocations: 70.09 MB / 2.218 GB, free: 176.4 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/3.866, allocations: 0.875 kB / 2.218 GB, free: 176.4 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04531/3.912, allocations: 12.73 MB / 2.231 GB, free: 163.6 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004599/3.912, allocations: 88.72 kB / 2.231 GB, free: 163.5 MB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00133/3.913, allocations: 203.6 kB / 2.231 GB, free: 163.3 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/3.915, allocations: 1.75 MB / 2.233 GB, free: 161.5 MB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/3.915, allocations: 0 / 2.233 GB, free: 161.5 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1711/4.086, allocations: 57.93 MB / 2.289 GB, free: 103.4 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005372/4.091, allocations: 3.027 MB / 2.292 GB, free: 100.3 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/4.093, allocations: 51.95 kB / 2.292 GB, free: 100.3 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04552/4.138, allocations: 12.15 MB / 2.304 GB, free: 88.12 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005417/4.139, allocations: 186.1 kB / 2.305 GB, free: 87.94 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001072/4.14, allocations: 231.6 kB / 2.305 GB, free: 87.71 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.005015/4.145, allocations: 4.874 MB / 2.31 GB, free: 82.85 MB / 1.514 GB Notification: Performance of sort global known variables: time 1.5e-07/4.145, allocations: 0 / 2.31 GB, free: 82.85 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.004893/4.15, allocations: 2.219 MB / 2.312 GB, free: 80.71 MB / 1.514 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.1704/4.32, allocations: 59.12 MB / 2.369 GB, free: 21.68 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.6554/4.976, allocations: 61.93 MB / 2.43 GB, free: 0.5175 GB / 1.529 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/4.976, allocations: 1.062 kB / 2.43 GB, free: 0.5175 GB / 1.529 GB Notification: Performance of simCode: created simulation system equations: time 0.08925/5.065, allocations: 30.9 MB / 2.46 GB, free: 0.5036 GB / 1.529 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005812/5.071, allocations: 1.419 MB / 2.461 GB, free: 0.5029 GB / 1.529 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5497/5.621, allocations: 224.6 MB / 2.681 GB, free: 303 MB / 1.529 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002956/5.624, allocations: 4.168 MB / 2.685 GB, free: 298.8 MB / 1.529 GB Notification: Performance of simCode: alias equations: time 0.009809/5.634, allocations: 4.411 MB / 2.689 GB, free: 294.4 MB / 1.529 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005757/5.639, allocations: 2.709 MB / 2.692 GB, free: 291.6 MB / 1.529 GB Notification: Performance of SimCode: time 5.81e-07/5.639, allocations: 3.938 kB / 2.692 GB, free: 291.6 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 15.12/20.76, allocations: 188.9 MB / 2.876 GB, free: 103.5 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.42/51.18, allocations: 6.484 kB / 2.876 GB, free: 103.5 MB / 1.529 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_FixedShade_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_FixedShade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)