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.001263/0.001263, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001338/0.001338, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002313/0.002313, allocations: 287.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.976/0.976, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 91.86 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5325/0.5344, allocations: 86.97 MB / 0.767 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006361/0.5409, allocations: 4.428 MB / 0.7714 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1655/0.7064, allocations: 150.6 MB / 0.9184 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.7075, allocations: 19.88 kB / 0.9184 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008452/0.7083, allocations: 166.4 kB / 0.9186 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.7107, allocations: 0.5124 MB / 0.9191 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.7132, allocations: 0.8416 MB / 0.9199 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001851/0.715, allocations: 1.336 MB / 0.9212 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.7163, allocations: 0.7039 MB / 0.9219 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008899/0.7172, allocations: 0.5099 MB / 0.9224 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00086/0.7181, allocations: 0.5327 MB / 0.9229 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003023/0.7184, allocations: 128 kB / 0.923 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.7196, allocations: 495.6 kB / 0.9235 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000436/0.72, allocations: 323 kB / 0.9238 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008085/0.7209, allocations: 0.5829 MB / 0.9244 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.7233, allocations: 1.72 MB / 0.9261 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7233, allocations: 0 / 0.9261 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7233, allocations: 0 / 0.9261 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.197e-05/0.7234, allocations: 0 / 0.9261 GB, free: 0.5039 MB / 0.6856 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.003468/0.7269, allocations: 1.491 MB / 0.9275 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.7269, allocations: 12.03 kB / 0.9275 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.7287, allocations: 299.2 kB / 0.9278 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.7301, allocations: 0.7927 MB / 0.9286 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.7302, allocations: 78 kB / 0.9287 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.7304, allocations: 92 kB / 0.9288 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.7327, allocations: 1.066 MB / 0.9298 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.7327, allocations: 0 / 0.9298 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.7328, allocations: 43.98 kB / 0.9298 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.7328, allocations: 28 kB / 0.9299 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.7353, allocations: 1.264 MB / 0.9311 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/0.7402, allocations: 2.688 MB / 0.9337 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.7429, allocations: 1.023 MB / 0.9347 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008345/0.7437, allocations: 362.6 kB / 0.9351 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.863e-05/0.7438, allocations: 32.59 kB / 0.9351 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.745, allocations: 0.5528 MB / 0.9356 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 3.056e-06/0.7451, allocations: 4 kB / 0.9357 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.00421/0.7493, allocations: 1.38 MB / 0.937 GB, free: 5.051 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.7494, allocations: 192.9 kB / 0.9372 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009681/0.7504, allocations: 0.641 MB / 0.9378 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.394e-05/0.7505, allocations: 41.7 kB / 0.9378 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.7509, allocations: 432.2 kB / 0.9383 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.7511, allocations: 272.1 kB / 0.9385 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.7514, allocations: 170.4 kB / 0.9387 GB, free: 3.254 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.7516, allocations: 390.8 kB / 0.9391 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008459/0.7525, allocations: 325.8 kB / 0.9394 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009153/0.7534, allocations: 419 kB / 0.9398 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.755, allocations: 0.7062 MB / 0.9405 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.755, allocations: 4 kB / 0.9405 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002703/0.7578, allocations: 0.9619 MB / 0.9414 GB, free: 440 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.7578, allocations: 10.66 kB / 0.9414 GB, free: 432 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.7578, allocations: 0 / 0.9414 GB, free: 432 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006714/0.7585, allocations: 84.86 kB / 0.9415 GB, free: 344 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008858/0.7594, allocations: 187.8 kB / 0.9417 GB, free: 156 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.7617, allocations: 1.626 MB / 0.9433 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009528/0.7627, allocations: 111.6 kB / 0.9434 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-05/0.7628, allocations: 35.97 kB / 0.9434 GB, free: 14.23 MB / 0.7169 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.0005415/0.7634, allocations: 283.3 kB / 0.9437 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.7636, allocations: 82.97 kB / 0.9437 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/0.7667, allocations: 1.202 MB / 0.9449 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.7667, allocations: 12 kB / 0.9449 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7668, allocations: 3.984 kB / 0.9449 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.7668, allocations: 3.984 kB / 0.9449 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00435/0.7711, allocations: 2.142 MB / 0.947 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.7712, allocations: 4 kB / 0.947 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/0.7719, allocations: 171.7 kB / 0.9472 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004851/0.7725, allocations: 76.78 kB / 0.9473 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.593e-05/0.7726, allocations: 27.97 kB / 0.9473 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.7745, allocations: 1.658 MB / 0.9489 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.7745, allocations: 4 kB / 0.9489 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.7772, allocations: 1.123 MB / 0.95 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/0.7777, allocations: 275.7 kB / 0.9503 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.7779, allocations: 27.89 kB / 0.9503 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008493/0.7787, allocations: 79.92 kB / 0.9504 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.7789, allocations: 76.83 kB / 0.9505 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.458e-05/0.779, allocations: 39.97 kB / 0.9505 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006726/0.7797, allocations: 467 kB / 0.9509 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7797, allocations: 0 / 0.9509 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001063/0.7807, allocations: 327.2 kB / 0.9513 GB, free: 5.918 MB / 0.7169 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.001482/0.7822, allocations: 0.6109 MB / 0.9519 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002386/0.7846, allocations: 0.9523 MB / 0.9528 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7846, allocations: 0 / 0.9528 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.7859, allocations: 0.5744 MB / 0.9533 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7872, allocations: 305.5 kB / 0.9536 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/0.7919, allocations: 1.933 MB / 0.9555 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/0.7927, allocations: 1.051 MB / 0.9565 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/0.7931, allocations: 115.4 kB / 0.9567 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of SimCode: time 6.61e-07/0.7931, allocations: 0 / 0.9567 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.4177/1.211, allocations: 19.77 MB / 0.976 GB, free: 177.2 MB / 0.7169 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)