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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4967/0.4967, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009932, allocations: 112.3 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001154, allocations: 59.91 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3215, allocations: 70.06 MB / 0.5575 GB, free: 44.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006638/0.3283, allocations: 4.191 MB / 0.5616 GB, free: 41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1584/0.4867, allocations: 148.2 MB / 0.7063 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009798/0.4878, allocations: 15.94 kB / 0.7063 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000845/0.4886, allocations: 134.9 kB / 0.7064 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.4906, allocations: 397.5 kB / 0.7068 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.4929, allocations: 0.7014 MB / 0.7075 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.4944, allocations: 1.137 MB / 0.7086 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009653/0.4953, allocations: 0.6908 MB / 0.7093 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006196/0.496, allocations: 410.3 kB / 0.7097 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/0.4965, allocations: 461.8 kB / 0.7101 GB, free: 324 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.4966, allocations: 64 kB / 0.7102 GB, free: 260 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3887/0.8853, allocations: 402 kB / 0.7106 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003673/0.8857, allocations: 239.7 kB / 0.7108 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005513/0.8863, allocations: 496.3 kB / 0.7113 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.8878, allocations: 1.497 MB / 0.7127 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8878, allocations: 1.938 kB / 0.7127 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.02e-07/0.8878, allocations: 0 / 0.7127 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.8879, allocations: 2.625 kB / 0.7127 GB, free: 3.277 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002081/0.8899, allocations: 1.386 MB / 0.7141 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.89, allocations: 10.5 kB / 0.7141 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.8917, allocations: 296 kB / 0.7144 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.8928, allocations: 0.7293 MB / 0.7151 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.8928, allocations: 76.14 kB / 0.7152 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.893, allocations: 88.12 kB / 0.7152 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.8949, allocations: 1.001 MB / 0.7162 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.8949, allocations: 5.188 kB / 0.7162 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.45e-05/0.895, allocations: 37.56 kB / 0.7163 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.895, allocations: 22.31 kB / 0.7163 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.8973, allocations: 1.22 MB / 0.7175 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004114/0.9014, allocations: 2.572 MB / 0.72 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.9038, allocations: 0.9382 MB / 0.7209 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006524/0.9044, allocations: 334.2 kB / 0.7212 GB, free: 17.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.319e-05/0.9045, allocations: 31.25 kB / 0.7213 GB, free: 17.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009459/0.9055, allocations: 491.9 kB / 0.7217 GB, free: 17.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=75): time 3.106e-06/0.9055, allocations: 0 / 0.7217 GB, free: 17.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75): time 0.003331/0.9088, allocations: 1.239 MB / 0.7229 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.909, allocations: 188.7 kB / 0.7231 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007115/0.9097, allocations: 0.6036 MB / 0.7237 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.704e-05/0.9097, allocations: 41.78 kB / 0.7237 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.91, allocations: 403.3 kB / 0.7241 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.9102, allocations: 252.1 kB / 0.7244 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.9104, allocations: 154.7 kB / 0.7245 GB, free: 16.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.9105, allocations: 384.5 kB / 0.7249 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006839/0.9112, allocations: 289.4 kB / 0.7252 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007258/0.912, allocations: 378.9 kB / 0.7255 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.9133, allocations: 0.6568 MB / 0.7262 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9133, allocations: 3.375 kB / 0.7262 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002269/0.9155, allocations: 0.8791 MB / 0.727 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.9156, allocations: 5.438 kB / 0.727 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.9156, allocations: 5.5 kB / 0.727 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.9162, allocations: 80.83 kB / 0.7271 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008227/0.917, allocations: 172.3 kB / 0.7273 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.919, allocations: 1.522 MB / 0.7288 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/0.9198, allocations: 98.02 kB / 0.7289 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.9199, allocations: 41.23 kB / 0.7289 GB, free: 14.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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.0004135/0.9203, allocations: 256.2 kB / 0.7291 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.9205, allocations: 80.12 kB / 0.7292 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.9231, allocations: 1.114 MB / 0.7303 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.9232, allocations: 9.328 kB / 0.7303 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.9232, allocations: 0 / 0.7303 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.9232, allocations: 2.812 kB / 0.7303 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.9265, allocations: 2.025 MB / 0.7323 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.9265, allocations: 0 / 0.7323 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/0.9272, allocations: 168.4 kB / 0.7325 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000479/0.9277, allocations: 84.22 kB / 0.7325 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/0.9277, allocations: 29.41 kB / 0.7326 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.9294, allocations: 1.547 MB / 0.7341 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.9294, allocations: 0.6875 kB / 0.7341 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.9327, allocations: 2.087 MB / 0.7361 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.9331, allocations: 262.3 kB / 0.7364 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.9332, allocations: 23.72 kB / 0.7364 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/0.9338, allocations: 69.42 kB / 0.7364 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.934, allocations: 61.64 kB / 0.7365 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/0.9341, allocations: 31.28 kB / 0.7365 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004731/0.9345, allocations: 442.7 kB / 0.737 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9346, allocations: 0 / 0.737 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001013/0.9356, allocations: 315.3 kB / 0.7373 GB, free: 11.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001254/0.9368, allocations: 0.6049 MB / 0.7378 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002019/0.9389, allocations: 0.8676 MB / 0.7387 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9389, allocations: 0 / 0.7387 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.94, allocations: 0.5375 MB / 0.7392 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.9416, allocations: 266.7 kB / 0.7395 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/0.9459, allocations: 2.665 MB / 0.7421 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.9464, allocations: 1.047 MB / 0.7431 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009186/0.9473, allocations: 265.4 kB / 0.7434 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.9476, allocations: 104 kB / 0.7435 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of SimCode: time 1.684e-06/0.9476, allocations: 0 / 0.7435 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of Templates: time 0.02392/0.9715, allocations: 14.23 MB / 0.7573 GB, free: 4.871 MB / 0.5261 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)