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.000915/0.000915, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0009414/0.0009413, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 270.3 kB / 291.3 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9274/0.9274, allocations: 169.5 MB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004276, allocations: 13.62 kB / 0.598 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2011, allocations: 88.54 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004933/0.206, allocations: 3.794 MB / 0.6882 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5054/0.7115, allocations: 136.8 MB / 0.8218 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006525/0.7122, allocations: 19.72 kB / 0.8218 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.7127, allocations: 132.5 kB / 0.8219 GB, free: 476 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.7139, allocations: 423.3 kB / 0.8223 GB, free: 296 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.7157, allocations: 0.6435 MB / 0.8229 GB, free: 140 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.7169, allocations: 1.14 MB / 0.8241 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007652/0.7177, allocations: 0.5543 MB / 0.8246 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005658/0.7182, allocations: 339.9 kB / 0.8249 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.7187, allocations: 381.9 kB / 0.8253 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.7188, allocations: 25.75 kB / 0.8253 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007968/0.7196, allocations: 344.7 kB / 0.8256 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.7198, allocations: 187.2 kB / 0.8258 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.72, allocations: 200.1 kB / 0.826 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.7211, allocations: 1.232 MB / 0.8272 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7211, allocations: 0 / 0.8272 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.889e-06/0.7211, allocations: 5.422 kB / 0.8272 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.7211, allocations: 3.938 kB / 0.8272 GB, free: 14.71 MB / 0.5606 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.002246/0.7234, allocations: 1.272 MB / 0.8285 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.7234, allocations: 8.406 kB / 0.8285 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.7251, allocations: 321.9 kB / 0.8288 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.7262, allocations: 0.7359 MB / 0.8295 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/0.7263, allocations: 72.97 kB / 0.8296 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.7264, allocations: 93.62 kB / 0.8297 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.7281, allocations: 1.065 MB / 0.8307 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.7282, allocations: 0 / 0.8307 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.734e-05/0.7283, allocations: 44.92 kB / 0.8307 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.7283, allocations: 25.11 kB / 0.8308 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.7303, allocations: 1.271 MB / 0.832 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00417/0.7345, allocations: 2.759 MB / 0.8347 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.7367, allocations: 1.018 MB / 0.8357 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006748/0.7374, allocations: 361.7 kB / 0.836 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.74e-05/0.7375, allocations: 35.44 kB / 0.8361 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009959/0.7385, allocations: 0.5654 MB / 0.8366 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.655e-06/0.7385, allocations: 0 / 0.8366 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.003342/0.7418, allocations: 1.385 MB / 0.838 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/0.742, allocations: 189 kB / 0.8382 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/0.7427, allocations: 0.6368 MB / 0.8388 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.035e-05/0.7428, allocations: 44.61 kB / 0.8388 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.7431, allocations: 424.3 kB / 0.8392 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.7433, allocations: 273.7 kB / 0.8395 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.7433, allocations: 18.25 kB / 0.8395 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7435, allocations: 384.1 kB / 0.8399 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006576/0.7442, allocations: 327.7 kB / 0.8402 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007228/0.7449, allocations: 416.4 kB / 0.8406 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.7456, allocations: 357.8 kB / 0.8409 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7456, allocations: 4 kB / 0.8409 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002137/0.7477, allocations: 0.9647 MB / 0.8419 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.7478, allocations: 8.984 kB / 0.8419 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7478, allocations: 0 / 0.8419 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005017/0.7483, allocations: 87.75 kB / 0.842 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/0.7491, allocations: 195.1 kB / 0.8422 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.7509, allocations: 1.522 MB / 0.8436 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008928/0.7518, allocations: 127.1 kB / 0.8438 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.039e-05/0.7518, allocations: 34.83 kB / 0.8438 GB, free: 6.484 MB / 0.5606 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.0004931/0.7523, allocations: 280.3 kB / 0.8441 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.7525, allocations: 88.27 kB / 0.8441 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.7551, allocations: 1.216 MB / 0.8453 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.7551, allocations: 7.938 kB / 0.8453 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7551, allocations: 6.5 kB / 0.8453 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.7552, allocations: 7.984 kB / 0.8454 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.7587, allocations: 2.159 MB / 0.8475 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7587, allocations: 0 / 0.8475 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006866/0.7594, allocations: 178.8 kB / 0.8476 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004356/0.7599, allocations: 83.09 kB / 0.8477 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/0.76, allocations: 33.09 kB / 0.8477 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.7617, allocations: 1.544 MB / 0.8492 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7617, allocations: 0 / 0.8492 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.7641, allocations: 1.124 MB / 0.8503 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/0.7646, allocations: 291.8 kB / 0.8506 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.7647, allocations: 17.88 kB / 0.8506 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007266/0.7655, allocations: 103.8 kB / 0.8507 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.7656, allocations: 69.95 kB / 0.8508 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.757e-05/0.7657, allocations: 41.06 kB / 0.8508 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006227/0.7663, allocations: 458.4 kB / 0.8513 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7663, allocations: 4 kB / 0.8513 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001129/0.7675, allocations: 335.8 kB / 0.8516 GB, free: 1.172 MB / 0.5606 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 (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.001445/0.7689, allocations: 0.5882 MB / 0.8522 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.771, allocations: 0.9496 MB / 0.8531 GB, free: 416 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.771, allocations: 0 / 0.8531 GB, free: 416 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.772, allocations: 0.5779 MB / 0.8537 GB, free: 92 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.7732, allocations: 263.5 kB / 0.8539 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.7774, allocations: 2.366 MB / 0.8562 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/0.778, allocations: 1.051 MB / 0.8573 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001141/0.7792, allocations: 278.9 kB / 0.8575 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.7795, allocations: 110.6 kB / 0.8576 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of SimCode: time 1.302e-06/0.7795, allocations: 3.938 kB / 0.8576 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.03118/0.8107, allocations: 14.31 MB / 0.8716 GB, free: 176 kB / 0.5762 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)