Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001564/0.001564, allocations: 100.1 kB / 16.64 MB, free: 6.371 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.001501/0.001501, allocations: 183.7 kB / 17.56 MB, free: 5.816 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.394/1.394, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7954/0.7954, allocations: 125.4 MB / 416.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.91 kB / 0.4943 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3823, allocations: 78.56 MB / 0.571 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006085/0.3885, allocations: 5.161 MB / 0.576 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1788/0.5673, allocations: 148.4 MB / 0.721 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.5687, allocations: 15.94 kB / 0.721 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007265/0.5694, allocations: 162.8 kB / 0.7212 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.5718, allocations: 0.4991 MB / 0.7217 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.5741, allocations: 0.7558 MB / 0.7224 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001962/0.5761, allocations: 1.46 MB / 0.7238 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.5772, allocations: 0.6614 MB / 0.7245 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009206/0.5781, allocations: 0.5255 MB / 0.725 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007243/0.5788, allocations: 0.5446 MB / 0.7255 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.579, allocations: 128 kB / 0.7256 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.5801, allocations: 479.6 kB / 0.7261 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003267/0.5804, allocations: 319 kB / 0.7264 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006219/0.581, allocations: 0.6142 MB / 0.727 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.5828, allocations: 1.31 MB / 0.7283 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5829, allocations: 0 / 0.7283 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5829, allocations: 7.938 kB / 0.7283 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.5829, allocations: 0 / 0.7283 GB, free: 6.133 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.002995/0.5859, allocations: 1.506 MB / 0.7298 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.586, allocations: 12.62 kB / 0.7298 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.5878, allocations: 307.1 kB / 0.7301 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.589, allocations: 0.7616 MB / 0.7308 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.5891, allocations: 77.98 kB / 0.7309 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.5892, allocations: 92 kB / 0.731 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.5914, allocations: 1.07 MB / 0.732 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.5915, allocations: 0 / 0.732 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.5916, allocations: 40 kB / 0.7321 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.5916, allocations: 24 kB / 0.7321 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/0.5941, allocations: 1.272 MB / 0.7333 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005475/0.5996, allocations: 3.082 MB / 0.7363 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.6024, allocations: 1.028 MB / 0.7373 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008399/0.6033, allocations: 362.6 kB / 0.7377 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.816e-05/0.6034, allocations: 28.62 kB / 0.7377 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/0.6048, allocations: 0.5645 MB / 0.7383 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.715e-06/0.6048, allocations: 0 / 0.7383 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.004317/0.6091, allocations: 1.384 MB / 0.7396 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.6093, allocations: 192.9 kB / 0.7398 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.6103, allocations: 0.6372 MB / 0.7404 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.6104, allocations: 45.7 kB / 0.7405 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.6108, allocations: 428.2 kB / 0.7409 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.6111, allocations: 272.1 kB / 0.7411 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.6114, allocations: 166.5 kB / 0.7413 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000261/0.6117, allocations: 394.7 kB / 0.7417 GB, free: 8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008057/0.6125, allocations: 321.8 kB / 0.742 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009271/0.6135, allocations: 427 kB / 0.7424 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.6151, allocations: 0.7062 MB / 0.7431 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6152, allocations: 0 / 0.7431 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002684/0.6179, allocations: 0.9697 MB / 0.744 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.6179, allocations: 12.09 kB / 0.744 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.6179, allocations: 0 / 0.744 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/0.6185, allocations: 84.77 kB / 0.7441 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008798/0.6194, allocations: 183.8 kB / 0.7443 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.6219, allocations: 1.648 MB / 0.7459 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.623, allocations: 123.2 kB / 0.746 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/0.6231, allocations: 39.97 kB / 0.746 GB, free: 3.328 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.0006075/0.6237, allocations: 273.9 kB / 0.7463 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.6239, allocations: 82.97 kB / 0.7464 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/0.6271, allocations: 1.21 MB / 0.7476 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.6271, allocations: 12 kB / 0.7476 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6271, allocations: 0 / 0.7476 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.6271, allocations: 7.969 kB / 0.7476 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2928/0.9199, allocations: 2.141 MB / 0.7497 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.92, allocations: 0.5625 kB / 0.7497 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008214/0.9208, allocations: 176.2 kB / 0.7498 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004868/0.9213, allocations: 71.22 kB / 0.7499 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-05/0.9214, allocations: 29.64 kB / 0.7499 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.9233, allocations: 1.657 MB / 0.7516 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9233, allocations: 2.781 kB / 0.7516 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.9262, allocations: 1.111 MB / 0.7526 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.9266, allocations: 277.6 kB / 0.7529 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.9268, allocations: 20.52 kB / 0.7529 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008821/0.9277, allocations: 93.69 kB / 0.753 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.9279, allocations: 74.08 kB / 0.7531 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.928, allocations: 41.7 kB / 0.7531 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000724/0.9287, allocations: 469.9 kB / 0.7536 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9287, allocations: 0 / 0.7536 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001135/0.9299, allocations: 348.2 kB / 0.7539 GB, free: 167.4 MB / 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.002018/0.9319, allocations: 0.6035 MB / 0.7545 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003569/0.9355, allocations: 1.161 MB / 0.7556 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.9355, allocations: 0.5625 kB / 0.7556 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.937, allocations: 0.585 MB / 0.7562 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.9384, allocations: 314.4 kB / 0.7565 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.9423, allocations: 2.296 MB / 0.7587 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/0.943, allocations: 1.046 MB / 0.7598 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/0.9434, allocations: 126.5 kB / 0.7599 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.9435, allocations: 0 / 0.7599 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.02539/0.9688, allocations: 19.72 MB / 0.7791 GB, free: 153.2 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)