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.001528/0.001528, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001642/0.001642, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002449/0.002449, allocations: 289.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9469/0.9469, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 91.84 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5204/0.5225, allocations: 86.97 MB / 0.767 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005913/0.5284, allocations: 4.431 MB / 0.7714 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1737/0.7022, allocations: 150.6 MB / 0.9184 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.7033, allocations: 19.88 kB / 0.9184 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008641/0.7041, allocations: 174.3 kB / 0.9186 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.7065, allocations: 0.5021 MB / 0.9191 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.7091, allocations: 0.8473 MB / 0.9199 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.7112, allocations: 1.336 MB / 0.9212 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.7125, allocations: 0.7079 MB / 0.9219 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.7135, allocations: 0.506 MB / 0.9224 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009607/0.7145, allocations: 0.5328 MB / 0.9229 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004068/0.7149, allocations: 128 kB / 0.9231 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.7162, allocations: 499.6 kB / 0.9235 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004965/0.7167, allocations: 323 kB / 0.9238 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009061/0.7176, allocations: 0.5868 MB / 0.9244 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.7208, allocations: 1.708 MB / 0.9261 GB, free: 464 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.7208, allocations: 0 / 0.9261 GB, free: 464 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7208, allocations: 0 / 0.9261 GB, free: 464 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.203e-05/0.7209, allocations: 0 / 0.9261 GB, free: 464 kB / 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.00356/0.7245, allocations: 1.496 MB / 0.9275 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.7245, allocations: 8.031 kB / 0.9275 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.7264, allocations: 307.2 kB / 0.9278 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.7279, allocations: 0.7888 MB / 0.9286 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/0.728, allocations: 74 kB / 0.9287 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.7282, allocations: 91.94 kB / 0.9288 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.7304, allocations: 1.074 MB / 0.9298 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.7304, allocations: 4 kB / 0.9298 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.7305, allocations: 36 kB / 0.9299 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.7305, allocations: 27.94 kB / 0.9299 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.733, allocations: 1.268 MB / 0.9311 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005141/0.7381, allocations: 2.676 MB / 0.9337 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/0.7409, allocations: 1.016 MB / 0.9347 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008034/0.7417, allocations: 366.6 kB / 0.9351 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.988e-05/0.7418, allocations: 36.55 kB / 0.9351 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.743, allocations: 0.5529 MB / 0.9356 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.505e-06/0.743, allocations: 0 / 0.9356 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004036/0.7471, allocations: 1.38 MB / 0.937 GB, free: 5 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.7472, allocations: 188.9 kB / 0.9372 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.7482, allocations: 0.6488 MB / 0.9378 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.158e-05/0.7483, allocations: 41.7 kB / 0.9378 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.7487, allocations: 428.2 kB / 0.9383 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.749, allocations: 272.1 kB / 0.9385 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.7493, allocations: 170.4 kB / 0.9387 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.7495, allocations: 386.8 kB / 0.939 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008234/0.7503, allocations: 325.8 kB / 0.9394 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/0.7512, allocations: 419.1 kB / 0.9398 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.7528, allocations: 0.7101 MB / 0.9405 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.7529, allocations: 3.938 kB / 0.9405 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002633/0.7555, allocations: 0.9697 MB / 0.9414 GB, free: 380 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.7555, allocations: 4 kB / 0.9414 GB, free: 376 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.7555, allocations: 4 kB / 0.9414 GB, free: 372 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/0.7562, allocations: 84.86 kB / 0.9415 GB, free: 284 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/0.757, allocations: 191.7 kB / 0.9417 GB, free: 92 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.7594, allocations: 1.619 MB / 0.9433 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000978/0.7604, allocations: 121.3 kB / 0.9434 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.7606, allocations: 35.97 kB / 0.9434 GB, free: 14.17 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.0005959/0.7612, allocations: 277.8 kB / 0.9437 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.7614, allocations: 90.97 kB / 0.9438 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003147/0.7646, allocations: 1.198 MB / 0.9449 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.7646, allocations: 16 kB / 0.9449 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7647, allocations: 0 / 0.9449 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.7647, allocations: 3.984 kB / 0.9449 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/0.7693, allocations: 2.142 MB / 0.947 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.7694, allocations: 0 / 0.947 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007791/0.7702, allocations: 179.7 kB / 0.9472 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/0.7706, allocations: 68.78 kB / 0.9473 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/0.7707, allocations: 31.98 kB / 0.9473 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.7729, allocations: 1.658 MB / 0.9489 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7729, allocations: 4.031 kB / 0.9489 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.7758, allocations: 1.115 MB / 0.95 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.7763, allocations: 279.7 kB / 0.9503 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.7765, allocations: 19.91 kB / 0.9503 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008834/0.7774, allocations: 87.91 kB / 0.9504 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.7776, allocations: 72.84 kB / 0.9505 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.463e-05/0.7777, allocations: 39.97 kB / 0.9505 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007523/0.7785, allocations: 463 kB / 0.9509 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7785, allocations: 3.938 kB / 0.9509 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001129/0.7796, allocations: 331.2 kB / 0.9513 GB, free: 5.863 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.001637/0.7812, allocations: 0.6117 MB / 0.9519 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002448/0.7837, allocations: 0.9562 MB / 0.9528 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7837, allocations: 0 / 0.9528 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.785, allocations: 0.5744 MB / 0.9533 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.7865, allocations: 293.2 kB / 0.9536 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004864/0.7914, allocations: 1.929 MB / 0.9555 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008279/0.7922, allocations: 1.043 MB / 0.9565 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.7927, allocations: 127.4 kB / 0.9567 GB, free: 456 kB / 0.7169 GB Notification: Performance of SimCode: time 1.142e-06/0.7927, allocations: 0 / 0.9567 GB, free: 456 kB / 0.7169 GB Notification: Performance of Templates: time 0.413/1.206, allocations: 19.63 MB / 0.9758 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)