Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 287 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.906/0.906, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 95.27 kB / 0.5952 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1359, allocations: 86.99 MB / 0.6802 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006138/0.142, allocations: 4.634 MB / 0.6847 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4041/0.5462, allocations: 150.7 MB / 0.8319 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007941/0.547, allocations: 19.62 kB / 0.8319 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000586/0.5476, allocations: 184.1 kB / 0.8321 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.5494, allocations: 0.5106 MB / 0.8326 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.5516, allocations: 0.9345 MB / 0.8335 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001832/0.5534, allocations: 1.482 MB / 0.835 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.5547, allocations: 0.8047 MB / 0.8358 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008655/0.5555, allocations: 0.5663 MB / 0.8363 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.5566, allocations: 0.6304 MB / 0.8369 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004791/0.5571, allocations: 143 kB / 0.8371 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.5583, allocations: 0.4924 MB / 0.8375 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.5587, allocations: 360 kB / 0.8379 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007288/0.5594, allocations: 0.6502 MB / 0.8385 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.5616, allocations: 1.823 MB / 0.8403 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5616, allocations: 0 / 0.8403 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5616, allocations: 0 / 0.8403 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.831e-05/0.5617, allocations: 1.875 kB / 0.8403 GB, free: 15.68 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003786/0.5655, allocations: 1.66 MB / 0.8419 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.5655, allocations: 9.625 kB / 0.8419 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005368/0.5709, allocations: 0.7604 MB / 0.8427 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.5722, allocations: 0.8113 MB / 0.8435 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.5722, allocations: 78.27 kB / 0.8435 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.5724, allocations: 104.9 kB / 0.8436 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003223/0.5757, allocations: 1.445 MB / 0.8451 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.5757, allocations: 3.938 kB / 0.8451 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.5758, allocations: 41.62 kB / 0.8451 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.5758, allocations: 27.44 kB / 0.8451 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00451/0.5804, allocations: 1.895 MB / 0.847 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005818/0.5862, allocations: 3.267 MB / 0.8502 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.5895, allocations: 1.37 MB / 0.8515 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.591, allocations: 0.6043 MB / 0.8521 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006282/0.5917, allocations: 477.7 kB / 0.8526 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/0.5935, allocations: 0.8063 MB / 0.8533 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 3.136e-06/0.5935, allocations: 0 / 0.8533 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.005936/0.5995, allocations: 1.972 MB / 0.8553 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.5996, allocations: 197.5 kB / 0.8555 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/0.6004, allocations: 0.6488 MB / 0.8561 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.576e-05/0.6005, allocations: 48.98 kB / 0.8561 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.6008, allocations: 436.9 kB / 0.8566 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.6011, allocations: 352 kB / 0.8569 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000355/0.6015, allocations: 209.6 kB / 0.8571 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6016, allocations: 391.3 kB / 0.8575 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.6031, allocations: 0.4998 MB / 0.8579 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.6047, allocations: 0.6138 MB / 0.8585 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002994/0.6077, allocations: 1.073 MB / 0.8596 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.6077, allocations: 3.938 kB / 0.8596 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003967/0.6117, allocations: 1.375 MB / 0.8609 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6117, allocations: 9.219 kB / 0.861 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.6117, allocations: 2.125 kB / 0.861 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/0.6123, allocations: 88.42 kB / 0.861 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.6137, allocations: 273 kB / 0.8613 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.616, allocations: 1.627 MB / 0.8629 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.6174, allocations: 158.8 kB / 0.863 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.6175, allocations: 48.17 kB / 0.8631 GB, free: 1.086 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (124): * Single equations (assignments): 123 * 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.0005751/0.6181, allocations: 298 kB / 0.8634 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.6184, allocations: 102.6 kB / 0.8635 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004603/0.623, allocations: 1.669 MB / 0.8651 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.623, allocations: 12.59 kB / 0.8651 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.623, allocations: 0 / 0.8651 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.623, allocations: 10.25 kB / 0.8651 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006448/0.6295, allocations: 2.847 MB / 0.8679 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.6295, allocations: 3.938 kB / 0.8679 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.6308, allocations: 257.8 kB / 0.8681 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/0.6313, allocations: 70.77 kB / 0.8682 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.441e-05/0.6314, allocations: 36.59 kB / 0.8682 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.6332, allocations: 1.662 MB / 0.8699 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6332, allocations: 0 / 0.8699 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004008/0.6373, allocations: 1.525 MB / 0.8714 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.6378, allocations: 321.6 kB / 0.8717 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.638, allocations: 28.73 kB / 0.8717 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.6393, allocations: 117.3 kB / 0.8718 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.6394, allocations: 89.19 kB / 0.8719 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.6396, allocations: 49.83 kB / 0.8719 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005808/0.6401, allocations: 472.9 kB / 0.8724 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.512e-06/0.6402, allocations: 0 / 0.8724 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001025/0.6412, allocations: 390.2 kB / 0.8728 GB, free: 10.75 MB / 0.5919 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 (122): * Single equations (assignments): 116 * 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.0014/0.6426, allocations: 0.6275 MB / 0.8734 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004828/0.6474, allocations: 1.654 MB / 0.875 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6475, allocations: 0 / 0.875 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.6495, allocations: 0.8228 MB / 0.8758 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.6509, allocations: 308.3 kB / 0.8761 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/0.6558, allocations: 2.227 MB / 0.8783 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/0.6565, allocations: 1.092 MB / 0.8793 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001397/0.6579, allocations: 331.7 kB / 0.8796 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.6583, allocations: 123.4 kB / 0.8798 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.6583, allocations: 3.938 kB / 0.8798 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of Templates: time 0.02954/0.6878, allocations: 18.22 MB / 0.8976 GB, free: 1.949 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)