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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, 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.001172/0.001172, allocations: 194.4 kB / 16.14 MB, free: 6.66 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.287/1.287, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 286.8 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9771/0.9771, allocations: 169.2 MB / 0.4977 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 92.81 kB / 0.5945 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1647, allocations: 86.98 MB / 0.6794 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005591/0.1704, allocations: 4.424 MB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4363/0.6066, allocations: 148.3 MB / 0.8286 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000808/0.6075, allocations: 15.59 kB / 0.8286 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.608, allocations: 138.8 kB / 0.8287 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.6092, allocations: 434.9 kB / 0.8291 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.6109, allocations: 0.7352 MB / 0.8298 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.6119, allocations: 1.242 MB / 0.831 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008414/0.6128, allocations: 0.6962 MB / 0.8317 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005498/0.6133, allocations: 440.6 kB / 0.8321 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004702/0.6138, allocations: 0.4975 MB / 0.8326 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.614, allocations: 67.91 kB / 0.8327 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009096/0.6149, allocations: 415 kB / 0.8331 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.6151, allocations: 257.1 kB / 0.8333 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004682/0.6156, allocations: 0.5305 MB / 0.8339 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.6172, allocations: 1.617 MB / 0.8354 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.6172, allocations: 0 / 0.8354 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6172, allocations: 4.906 kB / 0.8354 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.6172, allocations: 0 / 0.8354 GB, free: 15.83 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00274/0.6199, allocations: 1.487 MB / 0.8369 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.62, allocations: 10.31 kB / 0.8369 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.6218, allocations: 309.2 kB / 0.8372 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.6228, allocations: 0.7585 MB / 0.8379 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.6229, allocations: 69.59 kB / 0.838 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.623, allocations: 93.81 kB / 0.8381 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.6249, allocations: 1.076 MB / 0.8391 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.625, allocations: 0.875 kB / 0.8391 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-05/0.6251, allocations: 40.62 kB / 0.8392 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.6251, allocations: 23.28 kB / 0.8392 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.6274, allocations: 1.265 MB / 0.8404 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00427/0.6317, allocations: 2.724 MB / 0.8431 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/0.6342, allocations: 1.028 MB / 0.8441 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007444/0.6349, allocations: 363.9 kB / 0.8445 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.059e-05/0.635, allocations: 33.16 kB / 0.8445 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.6362, allocations: 0.5573 MB / 0.845 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.134e-06/0.6362, allocations: 0 / 0.845 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003804/0.64, allocations: 1.378 MB / 0.8464 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.488e-05/0.6401, allocations: 192 kB / 0.8466 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007433/0.6408, allocations: 0.637 MB / 0.8472 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.733e-05/0.6409, allocations: 43.77 kB / 0.8472 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.6412, allocations: 420.4 kB / 0.8476 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.6414, allocations: 276 kB / 0.8479 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.6417, allocations: 171.4 kB / 0.848 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.6419, allocations: 390.9 kB / 0.8484 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000735/0.6426, allocations: 319.5 kB / 0.8487 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/0.6434, allocations: 428.7 kB / 0.8491 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.645, allocations: 0.7075 MB / 0.8498 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.645, allocations: 0 / 0.8498 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002349/0.6473, allocations: 0.9627 MB / 0.8508 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.6473, allocations: 6.344 kB / 0.8508 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6474, allocations: 0 / 0.8508 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.648, allocations: 80.59 kB / 0.8508 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008161/0.6488, allocations: 197.4 kB / 0.851 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.6507, allocations: 1.514 MB / 0.8525 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008719/0.6516, allocations: 120.5 kB / 0.8526 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.083e-05/0.6517, allocations: 37.06 kB / 0.8527 GB, free: 5.715 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (98): * Single equations (assignments): 97 * 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.0004503/0.6522, allocations: 285.8 kB / 0.8529 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.6523, allocations: 82.97 kB / 0.853 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/0.6552, allocations: 1.201 MB / 0.8542 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6552, allocations: 17.88 kB / 0.8542 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6552, allocations: 2.5 kB / 0.8542 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.6552, allocations: 7.734 kB / 0.8542 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/0.6589, allocations: 2.14 MB / 0.8563 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.6589, allocations: 3.984 kB / 0.8563 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007164/0.6597, allocations: 175.2 kB / 0.8565 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004943/0.6602, allocations: 85.36 kB / 0.8566 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/0.6602, allocations: 23.73 kB / 0.8566 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.662, allocations: 1.545 MB / 0.8581 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.662, allocations: 8 kB / 0.8581 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.6644, allocations: 1.112 MB / 0.8592 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.6648, allocations: 279.4 kB / 0.8595 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.6649, allocations: 23.34 kB / 0.8595 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007947/0.6657, allocations: 83.81 kB / 0.8596 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.6659, allocations: 71.95 kB / 0.8596 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.65e-05/0.666, allocations: 40.36 kB / 0.8597 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005214/0.6665, allocations: 464.8 kB / 0.8601 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6665, allocations: 0 / 0.8601 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008453/0.6674, allocations: 338.1 kB / 0.8604 GB, free: 484 kB / 0.5762 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 (97): * Single equations (assignments): 91 * 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.001274/0.6687, allocations: 0.604 MB / 0.861 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.6707, allocations: 0.9484 MB / 0.8619 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6707, allocations: 2.25 kB / 0.8619 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.6719, allocations: 0.5715 MB / 0.8625 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.6731, allocations: 271.8 kB / 0.8628 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.6773, allocations: 2.369 MB / 0.8651 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.6778, allocations: 1.05 MB / 0.8661 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009263/0.6788, allocations: 279 kB / 0.8664 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.6791, allocations: 115 kB / 0.8665 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of SimCode: time 2.474e-06/0.6791, allocations: 0 / 0.8665 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.02269/0.7018, allocations: 14.83 MB / 0.881 GB, free: 0.7891 MB / 0.5919 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)