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.005443/0.005443, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001281/0.001281, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002256/0.002256, allocations: 283 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9649/0.9649, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 103.8 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1776, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006573/0.1842, allocations: 4.648 MB / 0.7709 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5027/0.6869, allocations: 150.8 MB / 0.9181 GB, free: 7.078 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008606/0.6878, allocations: 15.94 kB / 0.9181 GB, free: 7.062 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007672/0.6886, allocations: 190.1 kB / 0.9183 GB, free: 6.879 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.6908, allocations: 0.5065 MB / 0.9188 GB, free: 6.387 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.6933, allocations: 0.9414 MB / 0.9197 GB, free: 5.477 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.6952, allocations: 1.492 MB / 0.9212 GB, free: 3.977 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.6965, allocations: 0.8036 MB / 0.922 GB, free: 3.141 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009643/0.6975, allocations: 0.5722 MB / 0.9225 GB, free: 2.566 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009582/0.6985, allocations: 0.6262 MB / 0.9231 GB, free: 1.938 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003451/0.6988, allocations: 144.8 kB / 0.9233 GB, free: 1.797 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.7, allocations: 0.529 MB / 0.9238 GB, free: 1.273 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004466/0.7005, allocations: 358.9 kB / 0.9241 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007814/0.7013, allocations: 0.6451 MB / 0.9248 GB, free: 280 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.7038, allocations: 1.876 MB / 0.9266 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7038, allocations: 0 / 0.9266 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7038, allocations: 0 / 0.9266 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.262e-05/0.7038, allocations: 0 / 0.9266 GB, free: 14.4 MB / 0.6856 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.003939/0.7078, allocations: 1.665 MB / 0.9282 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7078, allocations: 11.78 kB / 0.9282 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/0.7132, allocations: 0.7542 MB / 0.929 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.715, allocations: 0.8284 MB / 0.9298 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.7151, allocations: 82.2 kB / 0.9299 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/0.7154, allocations: 104 kB / 0.93 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/0.7188, allocations: 1.436 MB / 0.9314 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.7189, allocations: 0 / 0.9314 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.719, allocations: 51.98 kB / 0.9314 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.719, allocations: 24 kB / 0.9314 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004637/0.7237, allocations: 1.885 MB / 0.9333 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006627/0.7303, allocations: 3.24 MB / 0.9364 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/0.7339, allocations: 1.371 MB / 0.9378 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.7355, allocations: 0.6006 MB / 0.9384 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006671/0.7361, allocations: 478.5 kB / 0.9388 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001922/0.7381, allocations: 0.801 MB / 0.9396 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=109): time 2.745e-06/0.7381, allocations: 4 kB / 0.9396 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of matching and sorting (n=109): time 0.006108/0.7442, allocations: 1.969 MB / 0.9415 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.7443, allocations: 200.9 kB / 0.9417 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009339/0.7453, allocations: 0.6527 MB / 0.9424 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-05/0.7454, allocations: 45.7 kB / 0.9424 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.7457, allocations: 440.5 kB / 0.9428 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.7461, allocations: 350.8 kB / 0.9432 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003559/0.7464, allocations: 210.5 kB / 0.9434 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.7466, allocations: 394.7 kB / 0.9437 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.7481, allocations: 0.4977 MB / 0.9442 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.7498, allocations: 0.614 MB / 0.9448 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002955/0.7527, allocations: 1.074 MB / 0.9459 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.7528, allocations: 3.938 kB / 0.9459 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004045/0.7568, allocations: 1.372 MB / 0.9472 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.7569, allocations: 6.188 kB / 0.9472 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.7569, allocations: 7.938 kB / 0.9472 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/0.7575, allocations: 80.89 kB / 0.9473 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.7589, allocations: 267.6 kB / 0.9476 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.7611, allocations: 1.634 MB / 0.9492 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.7625, allocations: 159.8 kB / 0.9493 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.7626, allocations: 59.95 kB / 0.9494 GB, free: 6.422 MB / 0.7012 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.0005778/0.7632, allocations: 287.3 kB / 0.9496 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.7634, allocations: 98.8 kB / 0.9497 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004652/0.7681, allocations: 1.675 MB / 0.9514 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.7681, allocations: 12 kB / 0.9514 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.7681, allocations: 4 kB / 0.9514 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.7681, allocations: 7.969 kB / 0.9514 GB, free: 4.324 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006285/0.7744, allocations: 2.84 MB / 0.9542 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.7745, allocations: 3.938 kB / 0.9542 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.7758, allocations: 251.6 kB / 0.9544 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.7762, allocations: 76.78 kB / 0.9545 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.806e-05/0.7764, allocations: 35.97 kB / 0.9545 GB, free: 1.062 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.7783, allocations: 1.659 MB / 0.9561 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7783, allocations: 0 / 0.9561 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004129/0.7824, allocations: 1.533 MB / 0.9576 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/0.783, allocations: 331.3 kB / 0.958 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.7831, allocations: 24 kB / 0.958 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.7843, allocations: 119.9 kB / 0.9581 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.7845, allocations: 91.69 kB / 0.9582 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.7846, allocations: 43.97 kB / 0.9582 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006031/0.7852, allocations: 475 kB / 0.9587 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7852, allocations: 0 / 0.9587 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001056/0.7863, allocations: 379.1 kB / 0.959 GB, free: 12.26 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 (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.001458/0.7877, allocations: 0.625 MB / 0.9596 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004088/0.7918, allocations: 1.394 MB / 0.961 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.7919, allocations: 0 / 0.961 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.7939, allocations: 0.8124 MB / 0.9618 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.7953, allocations: 303.1 kB / 0.9621 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.8005, allocations: 2.202 MB / 0.9642 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007438/0.8013, allocations: 1.084 MB / 0.9653 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001223/0.8025, allocations: 335.7 kB / 0.9656 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.8029, allocations: 131.4 kB / 0.9657 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.803, allocations: 0 / 0.9657 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of Templates: time 0.03271/0.8357, allocations: 18.78 MB / 0.9841 GB, free: 2.949 MB / 0.7325 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)