Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 165 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9427/0.9427, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001565/0.001565, allocations: 233.9 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6879/0.6879, allocations: 138.4 MB / 455.2 MB, free: 1.488 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.508e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006876/0.006891, allocations: 8.024 MB / 0.5629 GB, free: 8.461 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2965/0.3034, allocations: 147.8 MB / 0.7072 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008132/0.3043, allocations: 31.81 kB / 0.7073 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.3048, allocations: 339.5 kB / 0.7076 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.3064, allocations: 0.8984 MB / 0.7085 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.3081, allocations: 1.402 MB / 0.7098 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002374/0.3105, allocations: 3.085 MB / 0.7128 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.3117, allocations: 0.9715 MB / 0.7138 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.3133, allocations: 1.836 MB / 0.7156 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009338/0.3143, allocations: 1.048 MB / 0.7166 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003324/0.3146, allocations: 328 kB / 0.7169 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008271/0.3154, allocations: 0.7141 MB / 0.7176 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003911/0.3158, allocations: 0.7087 MB / 0.7183 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000645/0.3165, allocations: 0.9275 MB / 0.7192 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.3187, allocations: 2.554 MB / 0.7217 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3187, allocations: 0 / 0.7217 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3187, allocations: 0 / 0.7217 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.16e-05/0.3187, allocations: 0 / 0.7217 GB, free: 2.008 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.003252/0.322, allocations: 2.931 MB / 0.7246 GB, free: 15 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.322, allocations: 8.75 kB / 0.7246 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007241/0.3293, allocations: 2.159 MB / 0.7267 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.3307, allocations: 1.225 MB / 0.7279 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/0.3307, allocations: 169.1 kB / 0.7281 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.331, allocations: 235.9 kB / 0.7283 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/0.3345, allocations: 2.752 MB / 0.731 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.3346, allocations: 3.984 kB / 0.731 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.3347, allocations: 92 kB / 0.7311 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/0.3348, allocations: 56 kB / 0.7311 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.3376, allocations: 2.09 MB / 0.7332 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007434/0.345, allocations: 5.688 MB / 0.7387 GB, free: 244 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002711/0.3477, allocations: 1.627 MB / 0.7403 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.349, allocations: 0.719 MB / 0.741 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/0.3493, allocations: 114.1 kB / 0.7411 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/0.3507, allocations: 1.274 MB / 0.7423 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=213): time 6.061e-06/0.3507, allocations: 7.984 kB / 0.7424 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=213): time 0.004209/0.3549, allocations: 2.458 MB / 0.7448 GB, free: 9.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.355, allocations: 205.9 kB / 0.745 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/0.3556, allocations: 0.761 MB / 0.7457 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.3558, allocations: 69.7 kB / 0.7458 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.3561, allocations: 0.8173 MB / 0.7466 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/0.3565, allocations: 0.701 MB / 0.7472 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007631/0.3573, allocations: 401 kB / 0.7476 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.3574, allocations: 488.6 kB / 0.7481 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009065/0.3583, allocations: 0.5504 MB / 0.7486 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.3594, allocations: 0.8935 MB / 0.7495 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.3613, allocations: 1.271 MB / 0.7507 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3613, allocations: 0 / 0.7507 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.00291/0.3642, allocations: 1.836 MB / 0.7525 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3642, allocations: 8 kB / 0.7525 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3642, allocations: 0 / 0.7525 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/0.3647, allocations: 131.6 kB / 0.7527 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.3663, allocations: 0.5226 MB / 0.7532 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.3679, allocations: 1.9 MB / 0.755 GB, free: 15.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.3689, allocations: 248.7 kB / 0.7553 GB, free: 14.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.369, allocations: 99.89 kB / 0.7554 GB, free: 14.79 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.000455/0.3695, allocations: 275 kB / 0.7556 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.3699, allocations: 227 kB / 0.7558 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.3734, allocations: 2.387 MB / 0.7582 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.3734, allocations: 24 kB / 0.7582 GB, free: 11.87 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3734, allocations: 3.984 kB / 0.7582 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.3734, allocations: 7.969 kB / 0.7582 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.3749, allocations: 1.549 MB / 0.7597 GB, free: 10.28 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3749, allocations: 0 / 0.7597 GB, free: 10.28 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.3763, allocations: 487.3 kB / 0.7602 GB, free: 9.801 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003797/0.3767, allocations: 127.6 kB / 0.7603 GB, free: 9.672 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.3768, allocations: 74.97 kB / 0.7604 GB, free: 9.602 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.3782, allocations: 1.933 MB / 0.7623 GB, free: 7.535 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3782, allocations: 3.516 kB / 0.7623 GB, free: 7.535 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/0.3811, allocations: 1.98 MB / 0.7642 GB, free: 5.523 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/0.3817, allocations: 480.1 kB / 0.7647 GB, free: 5.055 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.3819, allocations: 51.89 kB / 0.7647 GB, free: 5.004 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009562/0.3829, allocations: 160.5 kB / 0.7649 GB, free: 4.848 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.3831, allocations: 157.7 kB / 0.765 GB, free: 4.695 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.3832, allocations: 91.91 kB / 0.7651 GB, free: 4.605 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000465/0.3837, allocations: 0.5358 MB / 0.7656 GB, free: 4.059 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.3837, allocations: 0 / 0.7656 GB, free: 4.059 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001223/0.3849, allocations: 0.7051 MB / 0.7663 GB, free: 3.352 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001285/0.3862, allocations: 0.677 MB / 0.767 GB, free: 2.914 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002817/0.389, allocations: 1.838 MB / 0.7688 GB, free: 1.059 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.389, allocations: 0 / 0.7688 GB, free: 1.059 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.3903, allocations: 1.125 MB / 0.7699 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009605/0.3913, allocations: 477.6 kB / 0.7703 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.3955, allocations: 3.411 MB / 0.7737 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.3957, allocations: 362.9 kB / 0.774 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001442/0.3972, allocations: 0.5545 MB / 0.7745 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007336/0.3979, allocations: 240.3 kB / 0.7748 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of SimCode: time 9.12e-07/0.3979, allocations: 0 / 0.7748 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of Templates: time 0.03288/0.4308, allocations: 30.85 MB / 0.8049 GB, free: 12.32 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.59647221211344]