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.0016/0.0016, allocations: 102.1 kB / 15.98 MB, free: 6.359 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.001499/0.001499, allocations: 197 kB / 16.91 MB, free: 6.191 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 291 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.237/1.237, allocations: 178.5 MB / 0.5076 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 107.8 kB / 0.6066 GB, free: 9.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1956, allocations: 89.13 MB / 0.6936 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00769/0.2034, allocations: 5.385 MB / 0.6989 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4604/0.6638, allocations: 148.6 MB / 0.844 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009803/0.6648, allocations: 19.28 kB / 0.844 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006895/0.6655, allocations: 166.3 kB / 0.8442 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.6674, allocations: 0.4965 MB / 0.8447 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.6698, allocations: 0.8439 MB / 0.8455 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002379/0.6722, allocations: 1.612 MB / 0.8471 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.6734, allocations: 0.7507 MB / 0.8478 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.6745, allocations: 0.5885 MB / 0.8484 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000975/0.6755, allocations: 0.6453 MB / 0.849 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.6758, allocations: 143.2 kB / 0.8491 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.6769, allocations: 0.502 MB / 0.8496 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.6773, allocations: 360.8 kB / 0.85 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007585/0.6781, allocations: 0.6759 MB / 0.8506 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.6801, allocations: 1.417 MB / 0.852 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.6801, allocations: 1.125 kB / 0.852 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6801, allocations: 0.5625 kB / 0.852 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.608e-05/0.6801, allocations: 0 / 0.852 GB, free: 5.297 MB / 0.6075 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.003812/0.684, allocations: 1.673 MB / 0.8537 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.684, allocations: 17.3 kB / 0.8537 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005313/0.6893, allocations: 0.7551 MB / 0.8544 GB, free: 4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.6909, allocations: 0.8031 MB / 0.8552 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.678e-05/0.691, allocations: 84.48 kB / 0.8553 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.6912, allocations: 106 kB / 0.8554 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.6946, allocations: 1.44 MB / 0.8568 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.6947, allocations: 1.594 kB / 0.8568 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.6948, allocations: 47.25 kB / 0.8568 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.6948, allocations: 27.62 kB / 0.8569 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004625/0.6995, allocations: 1.887 MB / 0.8587 GB, free: 1.293 MB / 0.6075 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.007349/0.7068, allocations: 3.527 MB / 0.8621 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003534/0.7104, allocations: 1.389 MB / 0.8635 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.712, allocations: 0.5974 MB / 0.8641 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007675/0.7128, allocations: 482.4 kB / 0.8645 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002122/0.7149, allocations: 0.8047 MB / 0.8653 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=109): time 3.386e-06/0.7149, allocations: 0 / 0.8653 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=109): time 0.00648/0.7214, allocations: 1.973 MB / 0.8673 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.7216, allocations: 192.9 kB / 0.8674 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.7226, allocations: 0.6566 MB / 0.8681 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.7228, allocations: 49.64 kB / 0.8681 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.7232, allocations: 448.5 kB / 0.8686 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.7236, allocations: 354.9 kB / 0.8689 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000407/0.724, allocations: 202.5 kB / 0.8691 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002324/0.7243, allocations: 394.7 kB / 0.8695 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.7258, allocations: 0.5055 MB / 0.87 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.7274, allocations: 0.6096 MB / 0.8706 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/0.7305, allocations: 1.082 MB / 0.8716 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.7305, allocations: 3.938 kB / 0.8716 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00423/0.7347, allocations: 1.384 MB / 0.873 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.7348, allocations: 4 kB / 0.873 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.7348, allocations: 0 / 0.873 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/0.7354, allocations: 88.89 kB / 0.8731 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.7369, allocations: 267.6 kB / 0.8733 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/0.7394, allocations: 1.633 MB / 0.8749 GB, free: 152 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.741, allocations: 175.7 kB / 0.8751 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.7412, allocations: 47.95 kB / 0.8751 GB, free: 15.93 MB / 0.6387 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.0006521/0.7418, allocations: 291.3 kB / 0.8754 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.7421, allocations: 94.81 kB / 0.8755 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004799/0.7469, allocations: 1.671 MB / 0.8771 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.7469, allocations: 15.98 kB / 0.8771 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7469, allocations: 0 / 0.8771 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.7469, allocations: 9.359 kB / 0.8771 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006501/0.7534, allocations: 2.798 MB / 0.8799 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.7535, allocations: 7.688 kB / 0.8799 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.7548, allocations: 259.6 kB / 0.8801 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/0.7553, allocations: 72.78 kB / 0.8802 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.663e-05/0.7554, allocations: 35.97 kB / 0.8802 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.7575, allocations: 1.663 MB / 0.8819 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7575, allocations: 0 / 0.8819 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/0.7618, allocations: 1.527 MB / 0.8833 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006074/0.7624, allocations: 319.5 kB / 0.8836 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.7626, allocations: 24 kB / 0.8837 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.7638, allocations: 121.9 kB / 0.8838 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.7641, allocations: 92.88 kB / 0.8839 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.7642, allocations: 44.11 kB / 0.8839 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006796/0.7649, allocations: 475 kB / 0.8844 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7649, allocations: 0 / 0.8844 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001281/0.7662, allocations: 403 kB / 0.8848 GB, free: 5.801 MB / 0.6387 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.0021/0.7683, allocations: 0.6259 MB / 0.8854 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005039/0.7733, allocations: 1.668 MB / 0.887 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7734, allocations: 0 / 0.887 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002029/0.7754, allocations: 0.8203 MB / 0.8878 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.7769, allocations: 315 kB / 0.8881 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.7819, allocations: 2.658 MB / 0.8907 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.7827, allocations: 1.092 MB / 0.8918 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005885/0.7833, allocations: 143.3 kB / 0.8919 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of SimCode: time 1.263e-06/0.7833, allocations: 4 kB / 0.8919 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.03448/0.8178, allocations: 22.75 MB / 0.9141 GB, free: 7.988 MB / 0.67 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)