Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.001199/0.001199, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001125/0.001125, allocations: 192.9 kB / 16.25 MB, free: 6.625 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.169/1.169, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.041/2.041, allocations: 390.2 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4867/0.4879, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00416/0.4921, allocations: 4.422 MB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1335/0.6257, allocations: 148.4 MB / 1.098 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006328/0.6264, allocations: 15.94 kB / 1.098 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005467/0.6269, allocations: 138.9 kB / 1.099 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.6284, allocations: 457.2 kB / 1.099 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.6301, allocations: 0.7596 MB / 1.1 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.6314, allocations: 1.328 MB / 1.101 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008325/0.6322, allocations: 0.7079 MB / 1.102 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005918/0.6328, allocations: 0.5021 MB / 1.102 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.6334, allocations: 0.5405 MB / 1.103 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.6336, allocations: 124 kB / 1.103 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007089/0.6343, allocations: 471.7 kB / 1.103 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.6346, allocations: 326.9 kB / 1.104 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.6351, allocations: 0.5868 MB / 1.104 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.6366, allocations: 1.671 MB / 1.106 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6366, allocations: 0 / 1.106 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6366, allocations: 0 / 1.106 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.327e-05/0.6367, allocations: 0 / 1.106 GB, free: 1.066 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002471/0.6391, allocations: 1.495 MB / 1.107 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.6392, allocations: 12.03 kB / 1.107 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.6393, allocations: 152.3 kB / 1.107 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.6409, allocations: 303.2 kB / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009444/0.6418, allocations: 0.777 MB / 1.109 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.6419, allocations: 70 kB / 1.109 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.642, allocations: 92 kB / 1.109 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.6439, allocations: 1.07 MB / 1.11 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.6439, allocations: 0 / 1.11 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/0.644, allocations: 47.98 kB / 1.11 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.644, allocations: 24 kB / 1.11 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.6461, allocations: 1.268 MB / 1.111 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003944/0.6501, allocations: 2.712 MB / 1.114 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.6525, allocations: 1.024 MB / 1.115 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007191/0.6532, allocations: 358.6 kB / 1.115 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-05/0.6533, allocations: 34.42 kB / 1.115 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.6544, allocations: 0.5587 MB / 1.116 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 1.973e-06/0.6544, allocations: 0 / 1.116 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003533/0.6579, allocations: 1.376 MB / 1.117 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.658, allocations: 196.9 kB / 1.117 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006756/0.6587, allocations: 0.6372 MB / 1.118 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.6588, allocations: 41.7 kB / 1.118 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.6591, allocations: 428.2 kB / 1.118 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.6593, allocations: 276 kB / 1.118 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.6595, allocations: 154.5 kB / 1.119 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6596, allocations: 386.8 kB / 1.119 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006738/0.6603, allocations: 301.8 kB / 1.119 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007471/0.661, allocations: 414.5 kB / 1.12 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.6624, allocations: 0.6827 MB / 1.12 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6624, allocations: 0 / 1.12 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002096/0.6645, allocations: 0.9267 MB / 1.121 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.6646, allocations: 4 kB / 1.121 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6646, allocations: 4 kB / 1.121 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/0.6651, allocations: 80.86 kB / 1.121 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.6658, allocations: 175.8 kB / 1.121 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.6677, allocations: 1.64 MB / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/0.6684, allocations: 107.4 kB / 1.123 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.6684, allocations: 31.97 kB / 1.123 GB, free: 14.72 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0003231/0.6688, allocations: 273.6 kB / 1.123 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.6689, allocations: 86.95 kB / 1.124 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.6716, allocations: 1.21 MB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.6716, allocations: 12 kB / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.6716, allocations: 0 / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.6716, allocations: 3.984 kB / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/0.675, allocations: 2.152 MB / 1.127 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.675, allocations: 0 / 1.127 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/0.6757, allocations: 175.7 kB / 1.127 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003963/0.6761, allocations: 76.78 kB / 1.127 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/0.6761, allocations: 31.97 kB / 1.127 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.6778, allocations: 1.662 MB / 1.129 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6778, allocations: 0 / 1.129 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.68, allocations: 1.117 MB / 1.13 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.6803, allocations: 279.7 kB / 1.13 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.6804, allocations: 28 kB / 1.13 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/0.6812, allocations: 79.91 kB / 1.13 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.6813, allocations: 72.84 kB / 1.13 GB, free: 7.215 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.6814, allocations: 39.97 kB / 1.13 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000471/0.6819, allocations: 471 kB / 1.131 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6819, allocations: 0 / 1.131 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006654/0.6825, allocations: 327.1 kB / 1.131 GB, free: 6.398 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003556/0.6861, allocations: 2.175 MB / 1.133 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002554/0.6887, allocations: 1.128 MB / 1.134 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6887, allocations: 0 / 1.134 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6897, allocations: 0.5821 MB / 1.135 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.6908, allocations: 295.1 kB / 1.135 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.703, allocations: 7.508 MB / 1.143 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.7035, allocations: 1.047 MB / 1.144 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008217/0.7044, allocations: 282.8 kB / 1.144 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/0.7049, allocations: 419.3 kB / 1.144 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.7049, allocations: 0 / 1.144 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9036/1.609, allocations: 21.79 MB / 1.165 GB, free: 3.531 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/1.609, allocations: 316.1 kB / 1.166 GB, free: 3.148 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.962, allocations: 3.938 kB / 1.166 GB, free: 3.145 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)