Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7688/0.7688, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 182.7 kB / 187.3 MB, free: 11.88 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.554/1.554, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.001086/0.001085, allocations: 98.33 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001823/0.001823, allocations: 269.8 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.785e-05/4.818e-05, allocations: 0 / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5791/0.5792, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.676/5.255, allocations: 1.692 GB / 2.456 GB, free: 50.96 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/5.255, allocations: 98.2 kB / 2.456 GB, free: 50.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.528/5.783, allocations: 65.45 MB / 2.52 GB, free: 235.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/5.783, allocations: 1 kB / 2.52 GB, free: 235.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.137e-05/5.783, allocations: 21.16 kB / 2.52 GB, free: 235.6 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001705/5.785, allocations: 1.126 MB / 2.521 GB, free: 235 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/5.785, allocations: 9.594 kB / 2.521 GB, free: 235 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/5.787, allocations: 302.4 kB / 2.522 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/5.788, allocations: 0.6288 MB / 2.522 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/5.788, allocations: 69.5 kB / 2.522 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/5.788, allocations: 85.84 kB / 2.522 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/5.79, allocations: 0.9389 MB / 2.523 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/5.79, allocations: 0.6562 kB / 2.523 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.953e-05/5.79, allocations: 38.34 kB / 2.523 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/5.79, allocations: 22.38 kB / 2.523 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/5.791, allocations: 1.104 MB / 2.524 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/5.795, allocations: 2.604 MB / 2.527 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/5.797, allocations: 0.8574 MB / 2.528 GB, free: 233.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/5.797, allocations: 278.3 kB / 2.528 GB, free: 233.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.329e-05/5.797, allocations: 35.38 kB / 2.528 GB, free: 233.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005902/5.798, allocations: 436.8 kB / 2.528 GB, free: 233.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=75): time 2.935e-06/5.798, allocations: 0 / 2.528 GB, free: 233.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=75): time 0.001546/5.8, allocations: 0.7188 MB / 2.529 GB, free: 233.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/5.8, allocations: 243 kB / 2.529 GB, free: 233.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/5.8, allocations: 0.5863 MB / 2.53 GB, free: 233.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/5.8, allocations: 43.08 kB / 2.53 GB, free: 233.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/5.801, allocations: 404.2 kB / 2.53 GB, free: 233 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/5.801, allocations: 245.4 kB / 2.531 GB, free: 232.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/5.801, allocations: 12.81 kB / 2.531 GB, free: 232.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/5.801, allocations: 383 kB / 2.531 GB, free: 232.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/5.801, allocations: 209 kB / 2.531 GB, free: 232.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/5.802, allocations: 328.8 kB / 2.531 GB, free: 232.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/5.802, allocations: 256.7 kB / 2.532 GB, free: 232.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/5.802, allocations: 3.281 kB / 2.532 GB, free: 232.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001338/5.803, allocations: 0.7216 MB / 2.532 GB, free: 232.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/5.803, allocations: 7.719 kB / 2.532 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/5.803, allocations: 0 / 2.532 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/5.804, allocations: 84.5 kB / 2.533 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/5.805, allocations: 158.7 kB / 2.533 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/5.806, allocations: 1.519 MB / 2.534 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/5.807, allocations: 105.1 kB / 2.534 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/5.807, allocations: 29.39 kB / 2.534 GB, free: 231 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (77): * Single equations (assignments): 76 * 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.0001546/5.807, allocations: 145.2 kB / 2.534 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/5.807, allocations: 81.14 kB / 2.534 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/5.809, allocations: 1.002 MB / 2.535 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/5.809, allocations: 8.156 kB / 2.535 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/5.809, allocations: 3.234 kB / 2.535 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/5.809, allocations: 5.297 kB / 2.535 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/5.812, allocations: 1.958 MB / 2.537 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/5.812, allocations: 0 / 2.537 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/5.813, allocations: 168.3 kB / 2.538 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/5.813, allocations: 91.67 kB / 2.538 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/5.813, allocations: 24 kB / 2.538 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/5.815, allocations: 1.537 MB / 2.539 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/5.815, allocations: 0 / 2.539 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/5.816, allocations: 0.8996 MB / 2.54 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/5.817, allocations: 289.2 kB / 2.54 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/5.817, allocations: 20.69 kB / 2.54 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006665/5.817, allocations: 91.48 kB / 2.54 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/5.817, allocations: 64.34 kB / 2.54 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/5.818, allocations: 35.16 kB / 2.541 GB, free: 228.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000518/5.818, allocations: 490.6 kB / 2.541 GB, free: 228.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/5.818, allocations: 0 / 2.541 GB, free: 228.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009881/5.819, allocations: 378 kB / 2.541 GB, free: 228.5 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 (88): * Single equations (assignments): 85 * 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.001586/5.821, allocations: 1.027 MB / 2.542 GB, free: 228.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001153/5.822, allocations: 0.7172 MB / 2.543 GB, free: 228.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/5.822, allocations: 2.438 kB / 2.543 GB, free: 228.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006674/5.823, allocations: 492.4 kB / 2.544 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.001012/5.824, allocations: 240 kB / 2.544 GB, free: 228.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/5.827, allocations: 1.407 MB / 2.545 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/5.827, allocations: 1.043 MB / 2.546 GB, free: 227 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008636/5.828, allocations: 270 kB / 2.546 GB, free: 227 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/5.828, allocations: 104.2 kB / 2.547 GB, free: 227 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/5.828, allocations: 0 / 2.547 GB, free: 227 MB / 0.698 GB Notification: Performance of Templates: time 0.02688/5.855, allocations: 22.43 MB / 2.568 GB, free: 219.8 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)