Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 110.3 kB / 16.41 MB, free: 6.496 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.001195/0.001195, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0025/0.0025, allocations: 297.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 91.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5285, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006731/0.5352, allocations: 4.436 MB / 0.7714 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1824/0.7176, allocations: 151 MB / 0.9188 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.7187, allocations: 15.94 kB / 0.9189 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006621/0.7194, allocations: 178.3 kB / 0.919 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.7212, allocations: 0.5103 MB / 0.9195 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.7235, allocations: 0.8547 MB / 0.9204 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.725, allocations: 1.324 MB / 0.9216 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.726, allocations: 0.5244 MB / 0.9222 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007643/0.7268, allocations: 0.5138 MB / 0.9227 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006841/0.7275, allocations: 0.5251 MB / 0.9232 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.7277, allocations: 132 kB / 0.9233 GB, free: 3.262 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.7287, allocations: 0.4917 MB / 0.9238 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.729, allocations: 319 kB / 0.9241 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006245/0.7296, allocations: 0.579 MB / 0.9247 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.7319, allocations: 1.722 MB / 0.9263 GB, free: 156 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.732, allocations: 4 kB / 0.9263 GB, free: 152 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.542e-06/0.732, allocations: 4 kB / 0.9263 GB, free: 148 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.732, allocations: 0 / 0.9263 GB, free: 148 kB / 0.6856 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.002825/0.7348, allocations: 1.524 MB / 0.9278 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.7348, allocations: 8.031 kB / 0.9278 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.7366, allocations: 319.8 kB / 0.9281 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.7378, allocations: 0.7895 MB / 0.9289 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/0.7379, allocations: 77.88 kB / 0.929 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.738, allocations: 100 kB / 0.9291 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.74, allocations: 1.066 MB / 0.9301 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.74, allocations: 0 / 0.9301 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.7401, allocations: 44 kB / 0.9302 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.7401, allocations: 24 kB / 0.9302 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/0.7426, allocations: 1.264 MB / 0.9314 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004664/0.7472, allocations: 2.697 MB / 0.9341 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.7499, allocations: 0.9732 MB / 0.935 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007957/0.7507, allocations: 334.6 kB / 0.9353 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.689e-05/0.7508, allocations: 28.61 kB / 0.9354 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/0.7519, allocations: 0.5606 MB / 0.9359 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.635e-06/0.7519, allocations: 0 / 0.9359 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004014/0.756, allocations: 1.376 MB / 0.9372 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.7561, allocations: 192.9 kB / 0.9374 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008508/0.7569, allocations: 0.6488 MB / 0.9381 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.603e-05/0.757, allocations: 41.7 kB / 0.9381 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.7574, allocations: 429.1 kB / 0.9385 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.7576, allocations: 293.5 kB / 0.9388 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.7579, allocations: 170.6 kB / 0.939 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.7581, allocations: 386.8 kB / 0.9393 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007933/0.7589, allocations: 321.8 kB / 0.9396 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009061/0.7598, allocations: 423.1 kB / 0.94 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.7615, allocations: 0.714 MB / 0.9407 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7615, allocations: 0 / 0.9407 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002529/0.764, allocations: 0.9662 MB / 0.9417 GB, free: 64 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.764, allocations: 12.09 kB / 0.9417 GB, free: 52 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.764, allocations: 0 / 0.9417 GB, free: 52 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.7646, allocations: 80.78 kB / 0.9418 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/0.7655, allocations: 187.8 kB / 0.9419 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.7677, allocations: 1.634 MB / 0.9435 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008349/0.7685, allocations: 119.5 kB / 0.9437 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.7686, allocations: 39.97 kB / 0.9437 GB, free: 13.85 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (98): * Single equations (assignments): 97 * 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.0004971/0.7691, allocations: 270.6 kB / 0.9439 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.7693, allocations: 87.44 kB / 0.944 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.7723, allocations: 1.202 MB / 0.9452 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.7723, allocations: 12 kB / 0.9452 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.7723, allocations: 4 kB / 0.9452 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.7723, allocations: 3.984 kB / 0.9452 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.7763, allocations: 2.146 MB / 0.9473 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7763, allocations: 0 / 0.9473 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.7771, allocations: 171.8 kB / 0.9475 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/0.7776, allocations: 68.8 kB / 0.9475 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.7776, allocations: 35.91 kB / 0.9476 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.7796, allocations: 1.67 MB / 0.9492 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7796, allocations: 0 / 0.9492 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.7822, allocations: 1.119 MB / 0.9503 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.7826, allocations: 292 kB / 0.9506 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.7827, allocations: 20 kB / 0.9506 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007899/0.7835, allocations: 91 kB / 0.9507 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.7836, allocations: 72.84 kB / 0.9508 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.022e-05/0.7837, allocations: 39.97 kB / 0.9508 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006175/0.7843, allocations: 463 kB / 0.9512 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7843, allocations: 0 / 0.9512 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000995/0.7853, allocations: 335.1 kB / 0.9516 GB, free: 5.523 MB / 0.7169 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.001908/0.7872, allocations: 0.6084 MB / 0.9522 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002255/0.7895, allocations: 0.9133 MB / 0.953 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.7895, allocations: 4 kB / 0.953 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.7907, allocations: 0.5509 MB / 0.9536 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.7919, allocations: 289.3 kB / 0.9539 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.7961, allocations: 1.925 MB / 0.9557 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/0.7968, allocations: 1.051 MB / 0.9568 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008047/0.7976, allocations: 278.8 kB / 0.957 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4332/1.231, allocations: 108.5 kB / 0.9571 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.974e-06/1.231, allocations: 0.625 kB / 0.9571 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.02911/1.26, allocations: 15.7 MB / 0.9725 GB, free: 180.7 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)