Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.005057/0.005057, allocations: 102.2 kB / 15.73 MB, free: 6.008 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.001251/0.001251, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.202/1.202, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.104/2.104, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 71.89 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6322/0.6334, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006035/0.6395, allocations: 4.436 MB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1588/0.7983, allocations: 150.6 MB / 1.239 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000942/0.7993, allocations: 15.44 kB / 1.239 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.7998, allocations: 176.1 kB / 1.239 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.8016, allocations: 0.51 MB / 1.24 GB, free: 196 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.8037, allocations: 0.8474 MB / 1.24 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.805, allocations: 1.364 MB / 1.242 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000824/0.8059, allocations: 0.6171 MB / 1.242 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006017/0.8065, allocations: 496.4 kB / 1.243 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.807, allocations: 0.5062 MB / 1.243 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.8072, allocations: 122.5 kB / 1.243 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008898/0.8081, allocations: 489.8 kB / 1.244 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.8084, allocations: 303.5 kB / 1.244 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004732/0.8088, allocations: 0.5573 MB / 1.245 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.8105, allocations: 1.643 MB / 1.246 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8105, allocations: 4 kB / 1.246 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8105, allocations: 0 / 1.246 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.8106, allocations: 0 / 1.246 GB, free: 11.16 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00256/0.8131, allocations: 1.464 MB / 1.248 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8132, allocations: 8.031 kB / 1.248 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.8133, allocations: 139.6 kB / 1.248 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009237/0.8143, allocations: 191.3 kB / 1.248 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.8154, allocations: 0.7779 MB / 1.249 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/0.8155, allocations: 66 kB / 1.249 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.8156, allocations: 80 kB / 1.249 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.8172, allocations: 0.9457 MB / 1.25 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.8172, allocations: 0 / 1.25 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-05/0.8173, allocations: 39.98 kB / 1.25 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.8173, allocations: 27.98 kB / 1.25 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.8191, allocations: 1.124 MB / 1.251 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.8228, allocations: 2.523 MB / 1.253 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.8243, allocations: 0.9122 MB / 1.254 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/0.8249, allocations: 324.6 kB / 1.255 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.362e-05/0.825, allocations: 28.69 kB / 1.255 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008572/0.8258, allocations: 0.512 MB / 1.255 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.514e-06/0.8258, allocations: 0 / 1.255 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003274/0.8291, allocations: 1.251 MB / 1.256 GB, free: 496 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.8292, allocations: 204.9 kB / 1.257 GB, free: 248 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007837/0.83, allocations: 0.6333 MB / 1.257 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.212e-05/0.8301, allocations: 45.7 kB / 1.257 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.8304, allocations: 404.4 kB / 1.258 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.8306, allocations: 272 kB / 1.258 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.8309, allocations: 158.5 kB / 1.258 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.831, allocations: 390.8 kB / 1.258 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.8316, allocations: 257.9 kB / 1.259 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.8322, allocations: 375.3 kB / 1.259 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.8334, allocations: 0.6172 MB / 1.26 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.8334, allocations: 0 / 1.26 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002/0.8354, allocations: 0.8292 MB / 1.26 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.8354, allocations: 7.938 kB / 1.26 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.8354, allocations: 4 kB / 1.26 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006242/0.8361, allocations: 84.89 kB / 1.261 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.8368, allocations: 163.7 kB / 1.261 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.8387, allocations: 1.626 MB / 1.262 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006932/0.8394, allocations: 99.33 kB / 1.262 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.8395, allocations: 36.09 kB / 1.262 GB, free: 10.04 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0004101/0.8399, allocations: 265.7 kB / 1.263 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.8401, allocations: 90.95 kB / 1.263 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.8425, allocations: 1.132 MB / 1.264 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.8426, allocations: 8 kB / 1.264 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8426, allocations: 3.984 kB / 1.264 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.8426, allocations: 7.922 kB / 1.264 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.8458, allocations: 2.041 MB / 1.266 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.8458, allocations: 0 / 1.266 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/0.8465, allocations: 159.7 kB / 1.266 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/0.8469, allocations: 68.8 kB / 1.266 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.847, allocations: 35.97 kB / 1.266 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.8488, allocations: 1.65 MB / 1.268 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8488, allocations: 4.031 kB / 1.268 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.8508, allocations: 1.045 MB / 1.269 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.8512, allocations: 287.6 kB / 1.269 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.8513, allocations: 20 kB / 1.269 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008428/0.8521, allocations: 71.92 kB / 1.269 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.8524, allocations: 76.89 kB / 1.269 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.8525, allocations: 39.97 kB / 1.269 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005727/0.8531, allocations: 459 kB / 1.27 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8531, allocations: 0 / 1.27 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008751/0.854, allocations: 323.1 kB / 1.27 GB, free: 2.023 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,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 (100): * Single equations (assignments): 93 * 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.003467/0.8574, allocations: 2.114 MB / 1.272 GB, free: 64 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.8591, allocations: 0.8353 MB / 1.273 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.8591, allocations: 3.938 kB / 1.273 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009317/0.86, allocations: 0.547 MB / 1.273 GB, free: 14.65 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.8613, allocations: 294.1 kB / 1.274 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.8719, allocations: 6.501 MB / 1.28 GB, free: 7.727 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.8724, allocations: 1.04 MB / 1.281 GB, free: 6.656 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007617/0.8732, allocations: 266.8 kB / 1.281 GB, free: 6.391 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005259/0.8737, allocations: 395.3 kB / 1.282 GB, free: 6.004 MB / 1.014 GB Notification: Performance of SimCode: time 4.4e-07/0.8738, allocations: 0 / 1.282 GB, free: 6.004 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3803/1.254, allocations: 21.9 MB / 1.303 GB, free: 460 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.34, allocations: 12.22 kB / 1.303 GB, free: 452 kB / 1.029 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)