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.001413/0.001413, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001634/0.001634, allocations: 192 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.316/1.316, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 286.9 kB / 290.4 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9264/0.9264, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 97.12 kB / 0.5947 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1587, allocations: 86.98 MB / 0.6796 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005909/0.1647, allocations: 4.423 MB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4725/0.6373, allocations: 148.4 MB / 0.8288 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007839/0.6381, allocations: 23.66 kB / 0.8288 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.6386, allocations: 139.3 kB / 0.829 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.6401, allocations: 449.3 kB / 0.8294 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.6417, allocations: 0.759 MB / 0.8301 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.6428, allocations: 1.331 MB / 0.8314 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008379/0.6437, allocations: 0.7135 MB / 0.8321 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005729/0.6443, allocations: 0.5017 MB / 0.8326 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004853/0.6448, allocations: 0.5304 MB / 0.8331 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.6449, allocations: 131.2 kB / 0.8333 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007984/0.6457, allocations: 474.6 kB / 0.8337 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.646, allocations: 318.3 kB / 0.834 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.6464, allocations: 0.584 MB / 0.8346 GB, free: 172 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.648, allocations: 1.677 MB / 0.8362 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.648, allocations: 5.188 kB / 0.8362 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.644e-06/0.648, allocations: 0 / 0.8362 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.648, allocations: 0 / 0.8362 GB, free: 15.92 MB / 0.5762 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.002758/0.6508, allocations: 1.491 MB / 0.8377 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6508, allocations: 10.16 kB / 0.8377 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.6525, allocations: 302.1 kB / 0.838 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009793/0.6535, allocations: 0.7679 MB / 0.8387 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.6536, allocations: 72.88 kB / 0.8388 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.6537, allocations: 92.38 kB / 0.8389 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.6555, allocations: 1.072 MB / 0.84 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.6556, allocations: 4 kB / 0.84 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.069e-05/0.6557, allocations: 40.23 kB / 0.84 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.6557, allocations: 22.81 kB / 0.84 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/0.6581, allocations: 1.271 MB / 0.8413 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004696/0.6628, allocations: 2.719 MB / 0.8439 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.6653, allocations: 1.021 MB / 0.8449 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007195/0.666, allocations: 358.9 kB / 0.8453 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.906e-05/0.6661, allocations: 30.56 kB / 0.8453 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.6672, allocations: 0.56 MB / 0.8458 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.715e-06/0.6672, allocations: 4 kB / 0.8458 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003778/0.671, allocations: 1.379 MB / 0.8472 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.6711, allocations: 191.1 kB / 0.8474 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/0.672, allocations: 0.6385 MB / 0.848 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.812e-05/0.6721, allocations: 42.98 kB / 0.848 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.6724, allocations: 427.2 kB / 0.8484 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.6726, allocations: 279.8 kB / 0.8487 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.6729, allocations: 169 kB / 0.8489 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6731, allocations: 388 kB / 0.8492 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007156/0.6738, allocations: 322.3 kB / 0.8495 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008229/0.6746, allocations: 423.6 kB / 0.8499 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.6761, allocations: 0.7121 MB / 0.8506 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6761, allocations: 0 / 0.8506 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00238/0.6785, allocations: 0.9595 MB / 0.8516 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6785, allocations: 6.375 kB / 0.8516 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.6786, allocations: 3 kB / 0.8516 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/0.6792, allocations: 83.73 kB / 0.8517 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008159/0.68, allocations: 193.9 kB / 0.8518 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.6821, allocations: 1.628 MB / 0.8534 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00092/0.683, allocations: 116.4 kB / 0.8535 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.6831, allocations: 43.09 kB / 0.8536 GB, free: 5.586 MB / 0.5762 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.0004829/0.6836, allocations: 277.5 kB / 0.8539 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.6838, allocations: 82.91 kB / 0.8539 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/0.6868, allocations: 1.215 MB / 0.8551 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.6869, allocations: 10.69 kB / 0.8551 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6869, allocations: 0 / 0.8551 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.6869, allocations: 3.984 kB / 0.8551 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/0.6908, allocations: 2.147 MB / 0.8572 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6909, allocations: 0 / 0.8572 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/0.6916, allocations: 166.3 kB / 0.8574 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/0.6921, allocations: 78.53 kB / 0.8575 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.355e-05/0.6922, allocations: 27.56 kB / 0.8575 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.6942, allocations: 1.664 MB / 0.8591 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6942, allocations: 0 / 0.8591 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.6967, allocations: 1.119 MB / 0.8602 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.6971, allocations: 275.7 kB / 0.8605 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.6973, allocations: 27.67 kB / 0.8605 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000825/0.6981, allocations: 77.95 kB / 0.8606 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.6983, allocations: 76.11 kB / 0.8606 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/0.6984, allocations: 45.03 kB / 0.8607 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006005/0.699, allocations: 470.6 kB / 0.8611 GB, free: 344 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.699, allocations: 0 / 0.8611 GB, free: 344 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001022/0.7, allocations: 333.6 kB / 0.8615 GB, free: 240 kB / 0.5762 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.00175/0.7018, allocations: 0.6094 MB / 0.862 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003093/0.7049, allocations: 1.16 MB / 0.8632 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7049, allocations: 0 / 0.8632 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.7062, allocations: 0.5831 MB / 0.8638 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.7077, allocations: 299.3 kB / 0.864 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005651/0.7134, allocations: 2.362 MB / 0.8663 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009868/0.7144, allocations: 1.054 MB / 0.8674 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00117/0.7155, allocations: 269.1 kB / 0.8676 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.7159, allocations: 112.6 kB / 0.8677 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of SimCode: time 7.52e-07/0.7159, allocations: 0 / 0.8677 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of Templates: time 0.02734/0.7432, allocations: 15.37 MB / 0.8828 GB, free: 15.23 MB / 0.6075 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)