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.752/0.752, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.0009633/0.0009633, allocations: 184.2 kB / 182.2 MB, free: 9.453 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.413/1.413, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008659/0.0008659, allocations: 84.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 272.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.822e-05/1.825e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4731, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.331/4.804, allocations: 1.693 GB / 2.45 GB, free: 58.19 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/4.804, allocations: 101 kB / 2.45 GB, free: 58.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5699/5.374, allocations: 68.88 MB / 2.517 GB, free: 236.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/5.374, allocations: 0 / 2.517 GB, free: 236.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.838e-05/5.374, allocations: 27.56 kB / 2.517 GB, free: 236.3 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.002292/5.377, allocations: 1.258 MB / 2.519 GB, free: 235.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/5.377, allocations: 11.22 kB / 2.519 GB, free: 235.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004123/5.381, allocations: 0.6844 MB / 2.519 GB, free: 235.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/5.382, allocations: 0.6776 MB / 2.52 GB, free: 235.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/5.382, allocations: 36.59 kB / 2.52 GB, free: 235.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/5.382, allocations: 62.69 kB / 2.52 GB, free: 235.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002423/5.385, allocations: 1.42 MB / 2.521 GB, free: 235.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/5.387, allocations: 1.026 MB / 2.522 GB, free: 235.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/5.387, allocations: 1.406 kB / 2.522 GB, free: 235.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.606e-05/5.387, allocations: 1.281 kB / 2.522 GB, free: 235.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/5.387, allocations: 25.78 kB / 2.522 GB, free: 235.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005248/5.392, allocations: 2.931 MB / 2.525 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/5.393, allocations: 1.003 MB / 2.526 GB, free: 234.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/5.394, allocations: 426 kB / 2.527 GB, free: 234.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005923/5.395, allocations: 474.1 kB / 2.527 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007738/5.395, allocations: 0.5859 MB / 2.528 GB, free: 233.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 3.236e-06/5.395, allocations: 2.594 kB / 2.528 GB, free: 233.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.004573/5.4, allocations: 1.473 MB / 2.529 GB, free: 233.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.172e-05/5.4, allocations: 244.5 kB / 2.529 GB, free: 233.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/5.401, allocations: 0.4949 MB / 2.53 GB, free: 233.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.533e-05/5.401, allocations: 29.58 kB / 2.53 GB, free: 233.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/5.401, allocations: 425.6 kB / 2.53 GB, free: 233.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/5.401, allocations: 313.8 kB / 2.531 GB, free: 232.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/5.401, allocations: 2.281 kB / 2.531 GB, free: 232.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001278/5.402, allocations: 382.3 kB / 2.531 GB, free: 232.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/5.402, allocations: 316.1 kB / 2.531 GB, free: 232.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/5.402, allocations: 440.4 kB / 2.532 GB, free: 232.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/5.406, allocations: 0.8808 MB / 2.533 GB, free: 232.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/5.406, allocations: 2.594 kB / 2.533 GB, free: 232.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004327/5.41, allocations: 1.473 MB / 2.534 GB, free: 232.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/5.41, allocations: 12.22 kB / 2.534 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/5.41, allocations: 1.125 kB / 2.534 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005617/5.411, allocations: 84.39 kB / 2.534 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/5.412, allocations: 243.2 kB / 2.534 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/5.413, allocations: 1.454 MB / 2.536 GB, free: 231.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/5.415, allocations: 132.1 kB / 2.536 GB, free: 231.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-05/5.415, allocations: 38.84 kB / 2.536 GB, free: 231.1 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.0002206/5.415, allocations: 125.9 kB / 2.536 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/5.415, allocations: 78.97 kB / 2.536 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/5.42, allocations: 1.798 MB / 2.538 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/5.42, allocations: 10.66 kB / 2.538 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/5.42, allocations: 5.781 kB / 2.538 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/5.42, allocations: 7.422 kB / 2.538 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005846/5.426, allocations: 2.819 MB / 2.541 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/5.426, allocations: 0 / 2.541 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/5.427, allocations: 253.4 kB / 2.541 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/5.428, allocations: 82.67 kB / 2.541 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.157e-05/5.428, allocations: 17.11 kB / 2.541 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/5.429, allocations: 1.486 MB / 2.542 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/5.429, allocations: 3.609 kB / 2.542 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004416/5.434, allocations: 1.664 MB / 2.544 GB, free: 229 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/5.434, allocations: 317.2 kB / 2.544 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/5.434, allocations: 7.922 kB / 2.544 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/5.435, allocations: 109.9 kB / 2.544 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/5.435, allocations: 71.59 kB / 2.544 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/5.436, allocations: 44.58 kB / 2.545 GB, free: 228.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004519/5.436, allocations: 400.8 kB / 2.545 GB, free: 228.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/5.436, allocations: 0 / 2.545 GB, free: 228.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001234/5.437, allocations: 402.6 kB / 2.545 GB, free: 228.6 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.001811/5.439, allocations: 1.116 MB / 2.546 GB, free: 228.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001455/5.441, allocations: 0.971 MB / 2.547 GB, free: 228.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/5.441, allocations: 4 kB / 2.547 GB, free: 228.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007931/5.441, allocations: 0.6182 MB / 2.548 GB, free: 228.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/5.442, allocations: 218.8 kB / 2.548 GB, free: 228.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/5.446, allocations: 1.56 MB / 2.55 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/5.446, allocations: 1.082 MB / 2.551 GB, free: 226.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001406/5.448, allocations: 325.8 kB / 2.551 GB, free: 226.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/5.448, allocations: 107.2 kB / 2.551 GB, free: 226.8 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/5.448, allocations: 0 / 2.551 GB, free: 226.8 MB / 0.698 GB Notification: Performance of Templates: time 0.02767/5.476, allocations: 18.15 MB / 2.569 GB, free: 222.7 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)