Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001/0.001, allocations: 195 kB / 16.14 MB, free: 6.648 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.171/1.171, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.038/2.038, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4727, allocations: 140.4 MB / 0.9491 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004401/0.4772, allocations: 4.423 MB / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1334/0.6106, allocations: 148.3 MB / 1.098 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007426/0.6113, allocations: 15.94 kB / 1.098 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.6119, allocations: 142.8 kB / 1.098 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.6134, allocations: 445.5 kB / 1.099 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.6151, allocations: 0.7344 MB / 1.099 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.6163, allocations: 1.253 MB / 1.101 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007599/0.6171, allocations: 0.5981 MB / 1.101 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005424/0.6176, allocations: 426.3 kB / 1.102 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005276/0.6182, allocations: 493.7 kB / 1.102 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.6183, allocations: 59.94 kB / 1.102 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007203/0.619, allocations: 399.6 kB / 1.103 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.6193, allocations: 247 kB / 1.103 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004477/0.6197, allocations: 0.4932 MB / 1.103 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.6211, allocations: 1.542 MB / 1.105 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.6211, allocations: 0 / 1.105 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6212, allocations: 0 / 1.105 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.6212, allocations: 0 / 1.105 GB, free: 2.008 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002517/0.6237, allocations: 1.456 MB / 1.106 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.6237, allocations: 8.031 kB / 1.106 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.6239, allocations: 139.5 kB / 1.106 GB, free: 360 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008568/0.6248, allocations: 191.3 kB / 1.107 GB, free: 168 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009413/0.6257, allocations: 0.7544 MB / 1.107 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.6258, allocations: 65.98 kB / 1.107 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.6259, allocations: 84 kB / 1.107 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.6273, allocations: 0.9417 MB / 1.108 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.6274, allocations: 0 / 1.108 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/0.6274, allocations: 40 kB / 1.108 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.6275, allocations: 20 kB / 1.108 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.6291, allocations: 1.124 MB / 1.11 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003406/0.6325, allocations: 2.543 MB / 1.112 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.6339, allocations: 0.9071 MB / 1.113 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004932/0.6344, allocations: 314.7 kB / 1.113 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-05/0.6345, allocations: 32.69 kB / 1.113 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008361/0.6353, allocations: 0.5196 MB / 1.114 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 1.814e-06/0.6354, allocations: 0 / 1.114 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.002845/0.6382, allocations: 1.251 MB / 1.115 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.6383, allocations: 188.9 kB / 1.115 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/0.639, allocations: 0.645 MB / 1.116 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.639, allocations: 41.7 kB / 1.116 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.6393, allocations: 400.4 kB / 1.116 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.6395, allocations: 272.2 kB / 1.116 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.6397, allocations: 150.5 kB / 1.117 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6398, allocations: 386.8 kB / 1.117 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.6403, allocations: 257.9 kB / 1.117 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005539/0.6409, allocations: 366.5 kB / 1.118 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.6419, allocations: 0.6047 MB / 1.118 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6419, allocations: 0 / 1.118 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001718/0.6436, allocations: 0.833 MB / 1.119 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6436, allocations: 11.92 kB / 1.119 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.6437, allocations: 4 kB / 1.119 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/0.6442, allocations: 76.88 kB / 1.119 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.6448, allocations: 159.8 kB / 1.119 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.6466, allocations: 1.516 MB / 1.121 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005855/0.6472, allocations: 93.06 kB / 1.121 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.6473, allocations: 31.97 kB / 1.121 GB, free: 1.086 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.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 (91): * Single equations (assignments): 90 * 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.0003193/0.6476, allocations: 270.8 kB / 1.121 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.6478, allocations: 90.95 kB / 1.121 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.6501, allocations: 1.136 MB / 1.122 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.6501, allocations: 12 kB / 1.122 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6501, allocations: 0 / 1.122 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.6501, allocations: 15.84 kB / 1.122 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.6531, allocations: 2.021 MB / 1.124 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6531, allocations: 7.984 kB / 1.124 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/0.6537, allocations: 151.8 kB / 1.124 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004691/0.6542, allocations: 84.72 kB / 1.124 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/0.6542, allocations: 27.97 kB / 1.124 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.6558, allocations: 1.536 MB / 1.126 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6558, allocations: 0 / 1.126 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.6577, allocations: 1.051 MB / 1.127 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.658, allocations: 275.7 kB / 1.127 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.6582, allocations: 27.94 kB / 1.127 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.6588, allocations: 63.92 kB / 1.127 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.659, allocations: 81.02 kB / 1.127 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-05/0.659, allocations: 39.97 kB / 1.127 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004829/0.6595, allocations: 471 kB / 1.128 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6595, allocations: 0 / 1.128 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006872/0.6602, allocations: 315.2 kB / 1.128 GB, free: 9.188 MB / 0.8887 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * 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.003177/0.6634, allocations: 2.09 MB / 1.13 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.6648, allocations: 0.8351 MB / 1.131 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6648, allocations: 3.984 kB / 1.131 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008661/0.6657, allocations: 0.5394 MB / 1.132 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.6667, allocations: 272.5 kB / 1.132 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.6776, allocations: 7.11 MB / 1.139 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.6782, allocations: 1.036 MB / 1.14 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007264/0.6789, allocations: 274.8 kB / 1.14 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004942/0.6794, allocations: 403.3 kB / 1.14 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of SimCode: time 1.493e-06/0.6794, allocations: 0 / 1.14 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3832/1.063, allocations: 20.83 MB / 1.161 GB, free: 8.148 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/1.063, allocations: 311.3 kB / 1.161 GB, free: 7.762 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/3.177, allocations: 0 / 1.161 GB, free: 7.762 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)