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.001777/0.001777, 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.002102/0.002102, allocations: 189.5 kB / 16.25 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.494/1.494, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002546/0.002546, allocations: 291 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.113/1.113, allocations: 178.6 MB / 0.507 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004167/0.004167, allocations: 95.42 kB / 0.6059 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2024, allocations: 89.15 MB / 0.693 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007383/0.2098, allocations: 5.174 MB / 0.698 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4545/0.6643, allocations: 148.4 MB / 0.843 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009901/0.6654, allocations: 16.19 kB / 0.843 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008667/0.6663, allocations: 165.3 kB / 0.8431 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.6685, allocations: 0.4956 MB / 0.8436 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.6705, allocations: 0.7681 MB / 0.8444 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001798/0.6723, allocations: 1.453 MB / 0.8458 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009546/0.6733, allocations: 0.6592 MB / 0.8464 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007206/0.674, allocations: 0.5205 MB / 0.847 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006356/0.6747, allocations: 0.5554 MB / 0.8475 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.6748, allocations: 126.2 kB / 0.8476 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008037/0.6756, allocations: 465.9 kB / 0.8481 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.676, allocations: 321.3 kB / 0.8484 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000546/0.6765, allocations: 0.6225 MB / 0.849 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.6784, allocations: 1.706 MB / 0.8506 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6784, allocations: 2.25 kB / 0.8506 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6785, allocations: 0 / 0.8506 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.6785, allocations: 0 / 0.8506 GB, free: 4.277 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.002904/0.6814, allocations: 1.51 MB / 0.8521 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.6814, allocations: 7.5 kB / 0.8521 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.6832, allocations: 307.7 kB / 0.8524 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.6844, allocations: 0.7701 MB / 0.8532 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/0.6844, allocations: 78.47 kB / 0.8532 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.6846, allocations: 94.91 kB / 0.8533 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.6866, allocations: 1.07 MB / 0.8544 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.6866, allocations: 1.219 kB / 0.8544 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.6867, allocations: 42.06 kB / 0.8544 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.6867, allocations: 22.56 kB / 0.8544 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.689, allocations: 1.269 MB / 0.8557 GB, free: 0.9727 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/0.6941, allocations: 2.988 MB / 0.8586 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.6967, allocations: 1.025 MB / 0.8596 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007601/0.6975, allocations: 367.6 kB / 0.86 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.595e-05/0.6976, allocations: 35.69 kB / 0.86 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/0.6988, allocations: 0.5576 MB / 0.8605 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.595e-06/0.6988, allocations: 7.688 kB / 0.8605 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003973/0.7028, allocations: 1.377 MB / 0.8619 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.703, allocations: 192.8 kB / 0.8621 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009388/0.7039, allocations: 0.6426 MB / 0.8627 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.173e-05/0.704, allocations: 42.64 kB / 0.8627 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.7044, allocations: 432.7 kB / 0.8631 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.7047, allocations: 265.4 kB / 0.8634 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.705, allocations: 180.8 kB / 0.8636 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.7052, allocations: 386.8 kB / 0.8639 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000745/0.7059, allocations: 321.6 kB / 0.8642 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008393/0.7068, allocations: 421.7 kB / 0.8647 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.7084, allocations: 0.7151 MB / 0.8653 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7084, allocations: 0 / 0.8653 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002596/0.711, allocations: 0.9615 MB / 0.8663 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.711, allocations: 4.688 kB / 0.8663 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.711, allocations: 0 / 0.8663 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.7117, allocations: 90.48 kB / 0.8664 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/0.7125, allocations: 191.6 kB / 0.8666 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.715, allocations: 1.635 MB / 0.8682 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.7162, allocations: 133.3 kB / 0.8683 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.7164, allocations: 39.97 kB / 0.8683 GB, free: 7.812 MB / 0.5919 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.0005881/0.717, allocations: 271.4 kB / 0.8686 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.7172, allocations: 82.97 kB / 0.8687 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003155/0.7203, allocations: 1.208 MB / 0.8698 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.7204, allocations: 8 kB / 0.8698 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7204, allocations: 0 / 0.8698 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.7204, allocations: 7.984 kB / 0.8699 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004245/0.7246, allocations: 2.136 MB / 0.8719 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7247, allocations: 0 / 0.8719 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007997/0.7255, allocations: 175.8 kB / 0.8721 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/0.726, allocations: 64.8 kB / 0.8722 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.726, allocations: 27.97 kB / 0.8722 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.7282, allocations: 1.67 MB / 0.8738 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7282, allocations: 5 kB / 0.8738 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002722/0.731, allocations: 1.117 MB / 0.8749 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004707/0.7314, allocations: 275.7 kB / 0.8752 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.7316, allocations: 20 kB / 0.8752 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008621/0.7325, allocations: 93.88 kB / 0.8753 GB, free: 420 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.7326, allocations: 68.91 kB / 0.8754 GB, free: 352 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-05/0.7327, allocations: 43.91 kB / 0.8754 GB, free: 308 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006638/0.7334, allocations: 467 kB / 0.8758 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7334, allocations: 0 / 0.8758 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009909/0.7344, allocations: 347.1 kB / 0.8762 GB, free: 15.51 MB / 0.6075 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.001976/0.7364, allocations: 0.6051 MB / 0.8768 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00317/0.7396, allocations: 1.168 MB / 0.8779 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7396, allocations: 0 / 0.8779 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.7409, allocations: 0.5783 MB / 0.8785 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.7423, allocations: 318.3 kB / 0.8788 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.7463, allocations: 2.248 MB / 0.881 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007556/0.7471, allocations: 1.051 MB / 0.882 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00107/0.7481, allocations: 282.9 kB / 0.8823 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.7485, allocations: 111.4 kB / 0.8824 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of SimCode: time 8.11e-07/0.7485, allocations: 0 / 0.8824 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of Templates: time 0.02941/0.7779, allocations: 15.8 MB / 0.8978 GB, free: 9.699 MB / 0.6231 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)