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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9027/0.9027, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 183.8 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008546/0.0008546, allocations: 84.06 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001667/0.001667, allocations: 276.4 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.962e-05, allocations: 4 kB / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3987, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.272/4.671, allocations: 1.693 GB / 2.45 GB, free: 94.08 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/4.671, allocations: 102.6 kB / 2.45 GB, free: 93.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1541/4.825, allocations: 68.89 MB / 2.517 GB, free: 24.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/4.825, allocations: 0 / 2.517 GB, free: 24.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001601/4.826, allocations: 35.94 kB / 2.517 GB, free: 24.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.00367/4.829, allocations: 1.247 MB / 2.519 GB, free: 23.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/4.829, allocations: 16.03 kB / 2.519 GB, free: 23.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004838/4.834, allocations: 0.6929 MB / 2.519 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/4.837, allocations: 0.6775 MB / 2.52 GB, free: 22.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/4.837, allocations: 32 kB / 2.52 GB, free: 22.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005235/4.837, allocations: 60 kB / 2.52 GB, free: 21.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003429/4.841, allocations: 1.425 MB / 2.521 GB, free: 20.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/4.843, allocations: 1.016 MB / 2.522 GB, free: 19.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/4.843, allocations: 0 / 2.522 GB, free: 19.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-05/4.843, allocations: 11.92 kB / 2.522 GB, free: 19.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/4.843, allocations: 31.95 kB / 2.522 GB, free: 19.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005616/4.848, allocations: 2.928 MB / 2.525 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/4.85, allocations: 1.012 MB / 2.526 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/4.85, allocations: 423.1 kB / 2.527 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/4.851, allocations: 486.3 kB / 2.527 GB, free: 14.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007864/4.852, allocations: 0.5767 MB / 2.528 GB, free: 13.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 2.956e-06/4.852, allocations: 0 / 2.528 GB, free: 13.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.00461/4.856, allocations: 1.469 MB / 2.529 GB, free: 12.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/4.856, allocations: 252.6 kB / 2.529 GB, free: 12.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/4.857, allocations: 0.4906 MB / 2.53 GB, free: 11.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.082e-05/4.857, allocations: 25.7 kB / 2.53 GB, free: 11.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/4.857, allocations: 428.2 kB / 2.53 GB, free: 11.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/4.858, allocations: 315.2 kB / 2.531 GB, free: 10.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/4.858, allocations: 0 / 2.531 GB, free: 10.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000139/4.858, allocations: 390.7 kB / 2.531 GB, free: 10.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/4.858, allocations: 310.6 kB / 2.531 GB, free: 10.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/4.859, allocations: 441.2 kB / 2.532 GB, free: 9.605 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/4.862, allocations: 0.8884 MB / 2.533 GB, free: 8.719 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/4.862, allocations: 0 / 2.533 GB, free: 8.719 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004233/4.866, allocations: 1.465 MB / 2.534 GB, free: 7.242 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/4.866, allocations: 8 kB / 2.534 GB, free: 7.234 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/4.866, allocations: 0 / 2.534 GB, free: 7.234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/4.867, allocations: 84.83 kB / 2.534 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/4.868, allocations: 251.6 kB / 2.534 GB, free: 6.902 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/4.869, allocations: 1.453 MB / 2.536 GB, free: 5.328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/4.871, allocations: 123.4 kB / 2.536 GB, free: 5.207 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.233e-05/4.871, allocations: 39.97 kB / 2.536 GB, free: 5.168 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000224/4.871, allocations: 124.8 kB / 2.536 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/4.871, allocations: 82.97 kB / 2.536 GB, free: 4.957 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004986/4.876, allocations: 1.791 MB / 2.538 GB, free: 3.152 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/4.876, allocations: 12 kB / 2.538 GB, free: 3.141 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/4.876, allocations: 7.938 kB / 2.538 GB, free: 3.133 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/4.876, allocations: 7.969 kB / 2.538 GB, free: 3.125 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005907/4.882, allocations: 2.812 MB / 2.541 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/4.882, allocations: 3.953 kB / 2.541 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/4.883, allocations: 255.6 kB / 2.541 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4754/5.359, allocations: 75.34 kB / 2.541 GB, free: 232.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003968/5.359, allocations: 22.36 kB / 2.541 GB, free: 232.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/5.361, allocations: 1.477 MB / 2.542 GB, free: 231.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/5.361, allocations: 3.969 kB / 2.542 GB, free: 231.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007339/5.369, allocations: 1.659 MB / 2.544 GB, free: 231.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007766/5.37, allocations: 318.2 kB / 2.544 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/5.37, allocations: 7.594 kB / 2.544 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/5.371, allocations: 106.5 kB / 2.544 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/5.371, allocations: 78.7 kB / 2.544 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/5.371, allocations: 44.61 kB / 2.545 GB, free: 231.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007302/5.372, allocations: 402.1 kB / 2.545 GB, free: 231.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.372, allocations: 0 / 2.545 GB, free: 231.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001842/5.374, allocations: 402.1 kB / 2.545 GB, free: 231 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002587/5.377, allocations: 1.108 MB / 2.546 GB, free: 230.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00222/5.379, allocations: 0.9728 MB / 2.547 GB, free: 230.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/5.379, allocations: 5.5 kB / 2.547 GB, free: 230.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/5.38, allocations: 0.616 MB / 2.548 GB, free: 230.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/5.381, allocations: 225.6 kB / 2.548 GB, free: 230.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/5.386, allocations: 1.555 MB / 2.55 GB, free: 230.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008533/5.387, allocations: 1.077 MB / 2.551 GB, free: 229.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002008/5.389, allocations: 326.2 kB / 2.551 GB, free: 229.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004963/5.39, allocations: 116.7 kB / 2.551 GB, free: 229.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.553e-06/5.39, allocations: 0.5312 kB / 2.551 GB, free: 229.6 MB / 0.698 GB Notification: Performance of Templates: time 0.03224/5.422, allocations: 18.15 MB / 2.569 GB, free: 228.2 MB / 0.698 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)