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.001303/0.001303, allocations: 108.9 kB / 16.41 MB, free: 6.449 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.001516/0.001516, allocations: 189.2 kB / 17.34 MB, free: 5.707 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 289.1 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9914/0.9914, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 95.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4095, allocations: 86.98 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006829/0.4164, allocations: 4.653 MB / 0.7716 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1786/0.595, allocations: 151.2 MB / 0.9192 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007753/0.5957, allocations: 19.88 kB / 0.9192 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005678/0.5963, allocations: 182.2 kB / 0.9194 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.5978, allocations: 0.5343 MB / 0.9199 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.6, allocations: 0.9362 MB / 0.9209 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.6015, allocations: 1.492 MB / 0.9223 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008872/0.6024, allocations: 0.5752 MB / 0.9229 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006984/0.6031, allocations: 0.5801 MB / 0.9234 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007093/0.6038, allocations: 0.6224 MB / 0.924 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.604, allocations: 144 kB / 0.9242 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009049/0.6049, allocations: 0.5269 MB / 0.9247 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.6052, allocations: 358.8 kB / 0.925 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005748/0.6058, allocations: 0.649 MB / 0.9257 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.6079, allocations: 1.881 MB / 0.9275 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6079, allocations: 0 / 0.9275 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6079, allocations: 0 / 0.9275 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.6079, allocations: 0 / 0.9275 GB, free: 14.92 MB / 0.7012 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.003199/0.6111, allocations: 1.694 MB / 0.9292 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6111, allocations: 16.02 kB / 0.9292 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005369/0.6165, allocations: 0.7647 MB / 0.9299 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.6179, allocations: 0.8363 MB / 0.9307 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-05/0.6179, allocations: 78.2 kB / 0.9308 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.6181, allocations: 108 kB / 0.9309 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00334/0.6215, allocations: 1.432 MB / 0.9323 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.6215, allocations: 0 / 0.9323 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.6216, allocations: 48 kB / 0.9324 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.6216, allocations: 28 kB / 0.9324 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004877/0.6265, allocations: 1.885 MB / 0.9342 GB, free: 7.859 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006523/0.633, allocations: 3.246 MB / 0.9374 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.6365, allocations: 1.294 MB / 0.9387 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.6381, allocations: 0.5409 MB / 0.9392 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007304/0.6388, allocations: 478.6 kB / 0.9396 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001959/0.6407, allocations: 0.8088 MB / 0.9404 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=109): time 2.685e-06/0.6408, allocations: 0 / 0.9404 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of matching and sorting (n=109): time 0.006466/0.6472, allocations: 1.97 MB / 0.9424 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.6473, allocations: 192.9 kB / 0.9425 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008898/0.6482, allocations: 0.6567 MB / 0.9432 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.6483, allocations: 45.7 kB / 0.9432 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/0.6487, allocations: 449.4 kB / 0.9437 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.6491, allocations: 372.8 kB / 0.944 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.6494, allocations: 206.5 kB / 0.9442 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.6496, allocations: 398.7 kB / 0.9446 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.6512, allocations: 0.5055 MB / 0.9451 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.6528, allocations: 0.6091 MB / 0.9457 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003126/0.656, allocations: 1.074 MB / 0.9467 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.656, allocations: 64 / 0.9467 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004148/0.6601, allocations: 1.38 MB / 0.9481 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.6601, allocations: 4 kB / 0.9481 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.6601, allocations: 4 kB / 0.9481 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006168/0.6608, allocations: 84.89 kB / 0.9482 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.6622, allocations: 267.6 kB / 0.9484 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.6644, allocations: 1.637 MB / 0.95 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.6657, allocations: 163.3 kB / 0.9502 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.6658, allocations: 51.95 kB / 0.9502 GB, free: 6.977 MB / 0.7169 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.0005545/0.6664, allocations: 287.4 kB / 0.9505 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.6666, allocations: 103.3 kB / 0.9506 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004653/0.6713, allocations: 1.672 MB / 0.9522 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.6713, allocations: 12 kB / 0.9522 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6713, allocations: 0 / 0.9522 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.6713, allocations: 11.92 kB / 0.9523 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006222/0.6775, allocations: 2.851 MB / 0.955 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6775, allocations: 0 / 0.955 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.6789, allocations: 251.6 kB / 0.9553 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004293/0.6793, allocations: 72.8 kB / 0.9553 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.843e-05/0.6794, allocations: 35.95 kB / 0.9554 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3678/1.047, allocations: 1.66 MB / 0.957 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.047, allocations: 4.344 kB / 0.957 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005225/1.052, allocations: 1.533 MB / 0.9585 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006182/1.053, allocations: 321.2 kB / 0.9588 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/1.053, allocations: 25.86 kB / 0.9588 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.055, allocations: 123.8 kB / 0.959 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/1.055, allocations: 92.7 kB / 0.959 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.055, allocations: 49.28 kB / 0.9591 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008232/1.056, allocations: 470.1 kB / 0.9595 GB, free: 187 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.056, allocations: 3.094 kB / 0.9595 GB, free: 187 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001201/1.057, allocations: 391.7 kB / 0.9599 GB, free: 186.9 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.001972/1.059, allocations: 0.6276 MB / 0.9605 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003824/1.063, allocations: 1.328 MB / 0.9618 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.063, allocations: 1.344 kB / 0.9618 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/1.065, allocations: 0.7647 MB / 0.9626 GB, free: 186 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/1.066, allocations: 309.9 kB / 0.9629 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/1.071, allocations: 2.23 MB / 0.965 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/1.072, allocations: 1.082 MB / 0.9661 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001303/1.073, allocations: 342.4 kB / 0.9664 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/1.073, allocations: 129 kB / 0.9666 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.483e-06/1.073, allocations: 0 / 0.9666 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.02506/1.099, allocations: 18.47 MB / 0.9846 GB, free: 169.6 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)