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.00175/0.001749, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002011/0.002012, allocations: 195.5 kB / 16.14 MB, free: 6.641 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.56/1.56, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002647/0.002647, allocations: 274.6 kB / 290.2 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002854, allocations: 98.03 kB / 0.6057 GB, free: 24.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1755, allocations: 89.16 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008117/0.1836, allocations: 5.386 MB / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4872/0.6709, allocations: 148.5 MB / 0.8431 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.6721, allocations: 19.97 kB / 0.8431 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006631/0.6728, allocations: 164.3 kB / 0.8433 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.6747, allocations: 493.4 kB / 0.8437 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.6771, allocations: 0.83 MB / 0.8445 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001973/0.6791, allocations: 1.51 MB / 0.846 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.6802, allocations: 0.7281 MB / 0.8467 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008833/0.6811, allocations: 0.5134 MB / 0.8472 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007061/0.6818, allocations: 0.6023 MB / 0.8478 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.682, allocations: 76.22 kB / 0.8479 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009499/0.683, allocations: 435.4 kB / 0.8483 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004042/0.6834, allocations: 291 kB / 0.8486 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006277/0.684, allocations: 0.6132 MB / 0.8492 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.6859, allocations: 1.806 MB / 0.8509 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6859, allocations: 1.719 kB / 0.8509 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.52e-07/0.686, allocations: 0 / 0.8509 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.686, allocations: 0 / 0.8509 GB, free: 3.648 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.003364/0.6893, allocations: 1.677 MB / 0.8526 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6894, allocations: 9.562 kB / 0.8526 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005476/0.6949, allocations: 0.7616 MB / 0.8533 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.6964, allocations: 0.8031 MB / 0.8541 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.6965, allocations: 83.17 kB / 0.8542 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.6967, allocations: 110.3 kB / 0.8543 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003466/0.7002, allocations: 1.43 MB / 0.8557 GB, free: 412 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.7002, allocations: 5.25 kB / 0.8557 GB, free: 408 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.7003, allocations: 42.56 kB / 0.8557 GB, free: 376 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.7003, allocations: 28.31 kB / 0.8558 GB, free: 376 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0047/0.7051, allocations: 1.888 MB / 0.8576 GB, free: 15.47 MB / 0.5919 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.007011/0.7121, allocations: 3.543 MB / 0.8611 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/0.7155, allocations: 1.369 MB / 0.8624 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.7172, allocations: 0.6023 MB / 0.863 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007662/0.718, allocations: 482 kB / 0.8635 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002056/0.72, allocations: 0.8064 MB / 0.8642 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=109): time 3.467e-06/0.7201, allocations: 0 / 0.8642 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=109): time 0.006337/0.7264, allocations: 1.981 MB / 0.8662 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.7266, allocations: 194 kB / 0.8664 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00094/0.7275, allocations: 0.6568 MB / 0.867 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.7277, allocations: 48.67 kB / 0.8671 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.7281, allocations: 437.9 kB / 0.8675 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003996/0.7285, allocations: 358.5 kB / 0.8678 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003966/0.7289, allocations: 206.5 kB / 0.868 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002286/0.7291, allocations: 394.7 kB / 0.8684 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.7307, allocations: 0.5016 MB / 0.8689 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.7325, allocations: 0.613 MB / 0.8695 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/0.7357, allocations: 1.082 MB / 0.8705 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.7358, allocations: 3.938 kB / 0.8705 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004487/0.7402, allocations: 1.379 MB / 0.8719 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.7403, allocations: 8 kB / 0.8719 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7403, allocations: 0 / 0.8719 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006374/0.741, allocations: 76.91 kB / 0.872 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.7425, allocations: 275.5 kB / 0.8722 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.7449, allocations: 1.529 MB / 0.8737 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.7465, allocations: 167.1 kB / 0.8739 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.7466, allocations: 47.95 kB / 0.8739 GB, free: 1.832 MB / 0.5919 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.000626/0.7473, allocations: 292.6 kB / 0.8742 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.7475, allocations: 94.88 kB / 0.8743 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005078/0.7526, allocations: 1.682 MB / 0.8759 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/0.7527, allocations: 12 kB / 0.876 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.7527, allocations: 0 / 0.876 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.7528, allocations: 7.984 kB / 0.876 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006548/0.7593, allocations: 2.802 MB / 0.8787 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.7593, allocations: 0 / 0.8787 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.7608, allocations: 255.6 kB / 0.8789 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005424/0.7613, allocations: 88.77 kB / 0.879 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.7615, allocations: 35.91 kB / 0.8791 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.7637, allocations: 1.546 MB / 0.8806 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7637, allocations: 128 / 0.8806 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004386/0.7681, allocations: 1.527 MB / 0.8821 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006091/0.7687, allocations: 319.5 kB / 0.8824 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.7689, allocations: 27.98 kB / 0.8824 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.7702, allocations: 125.8 kB / 0.8825 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.7704, allocations: 88.86 kB / 0.8826 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.7706, allocations: 43.97 kB / 0.8826 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006763/0.7712, allocations: 478.9 kB / 0.8831 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7713, allocations: 0 / 0.8831 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001131/0.7724, allocations: 411 kB / 0.8835 GB, free: 7.789 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 (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.002012/0.7744, allocations: 0.6313 MB / 0.8841 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003891/0.7783, allocations: 1.386 MB / 0.8855 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7783, allocations: 0 / 0.8855 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.7804, allocations: 0.8163 MB / 0.8863 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.7819, allocations: 288.2 kB / 0.8865 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/0.7867, allocations: 2.619 MB / 0.8891 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007703/0.7875, allocations: 1.08 MB / 0.8901 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001623/0.7891, allocations: 335.8 kB / 0.8905 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.7896, allocations: 123.4 kB / 0.8906 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of SimCode: time 7.32e-07/0.7896, allocations: 0 / 0.8906 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of Templates: time 0.03234/0.822, allocations: 17.57 MB / 0.9077 GB, free: 15.29 MB / 0.6387 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)