Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.0008854/0.0008854, allocations: 88.22 kB / 19.65 MB, free: 272 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.0009269/0.0009269, allocations: 173 kB / 23.02 MB, free: 1.539 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.9738/0.9738, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.00148/0.00148, allocations: 226.3 kB / 260.2 MB, free: 12.82 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.7029/0.7029, allocations: 138.4 MB / 455.2 MB, free: 1.531 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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 4 kB / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.769e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005466/0.005483, allocations: 5.782 MB / 0.5607 GB, free: 10.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3004/0.3059, allocations: 146.8 MB / 0.7041 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007112/0.3066, allocations: 23.81 kB / 0.7041 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.3071, allocations: 249.7 kB / 0.7043 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.3085, allocations: 0.6564 MB / 0.705 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3097, allocations: 0.8999 MB / 0.7059 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.3107, allocations: 1.72 MB / 0.7075 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000581/0.3113, allocations: 0.5776 MB / 0.7081 GB, free: 44 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008204/0.3121, allocations: 0.9433 MB / 0.709 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.3126, allocations: 0.499 MB / 0.7095 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.3128, allocations: 156 kB / 0.7097 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007889/0.3136, allocations: 0.5209 MB / 0.7102 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.3138, allocations: 386.7 kB / 0.7105 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003333/0.3141, allocations: 0.5026 MB / 0.711 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.3154, allocations: 1.498 MB / 0.7125 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3154, allocations: 4 kB / 0.7125 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3154, allocations: 0 / 0.7125 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.3154, allocations: 4 kB / 0.7125 GB, free: 11.54 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.001752/0.3172, allocations: 1.792 MB / 0.7143 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3172, allocations: 12.75 kB / 0.7143 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000918/0.3181, allocations: 391.4 kB / 0.7146 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008602/0.319, allocations: 0.8184 MB / 0.7154 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.319, allocations: 86.97 kB / 0.7155 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.3191, allocations: 127.9 kB / 0.7156 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.3203, allocations: 1.207 MB / 0.7168 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.3203, allocations: 0 / 0.7168 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.431e-05/0.3204, allocations: 52 kB / 0.7169 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.3204, allocations: 36 kB / 0.7169 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.3215, allocations: 0.8834 MB / 0.7178 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/0.3244, allocations: 2.746 MB / 0.7205 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.3252, allocations: 0.4983 MB / 0.7209 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.3254, allocations: 174.8 kB / 0.7211 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.602e-05/0.3255, allocations: 24.64 kB / 0.7211 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.326, allocations: 0.5019 MB / 0.7216 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=87): time 2.354e-06/0.326, allocations: 3.938 kB / 0.7216 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of matching and sorting (n=87): time 0.00159/0.3276, allocations: 0.8562 MB / 0.7225 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.3277, allocations: 196.9 kB / 0.7226 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.3282, allocations: 0.6362 MB / 0.7233 GB, free: 112 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.3282, allocations: 41.7 kB / 0.7233 GB, free: 64 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.3285, allocations: 0.5932 MB / 0.7239 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.3288, allocations: 293.5 kB / 0.7242 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.329, allocations: 180.2 kB / 0.7243 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3291, allocations: 0.5664 MB / 0.7249 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.3294, allocations: 145.9 kB / 0.725 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.3297, allocations: 381.8 kB / 0.7254 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.3302, allocations: 402.6 kB / 0.7258 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3302, allocations: 3.938 kB / 0.7258 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009951/0.3312, allocations: 0.6762 MB / 0.7264 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3312, allocations: 11.98 kB / 0.7265 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3312, allocations: 0 / 0.7265 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004626/0.3317, allocations: 127.7 kB / 0.7266 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.3321, allocations: 175.7 kB / 0.7267 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.3334, allocations: 1.891 MB / 0.7286 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.3337, allocations: 79.53 kB / 0.7287 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.3337, allocations: 43.97 kB / 0.7287 GB, free: 10.29 MB / 0.5417 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 (104): * Single equations (assignments): 103 * 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.0002067/0.3339, allocations: 210.4 kB / 0.7289 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.3341, allocations: 123.4 kB / 0.729 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.3353, allocations: 0.864 MB / 0.7299 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3353, allocations: 12 kB / 0.7299 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3353, allocations: 0 / 0.7299 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3353, allocations: 3.984 kB / 0.7299 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/0.3359, allocations: 0.6881 MB / 0.7306 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.3359, allocations: 3.062 kB / 0.7306 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.3362, allocations: 147.8 kB / 0.7307 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003481/0.3366, allocations: 123.6 kB / 0.7308 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.3366, allocations: 27.92 kB / 0.7308 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.3378, allocations: 1.921 MB / 0.7327 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3378, allocations: 0 / 0.7327 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3388, allocations: 0.778 MB / 0.7335 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.3391, allocations: 207 kB / 0.7337 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.3391, allocations: 23.94 kB / 0.7337 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.3394, allocations: 50.2 kB / 0.7337 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.3395, allocations: 72.86 kB / 0.7338 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.682e-05/0.3396, allocations: 35.97 kB / 0.7339 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003352/0.3399, allocations: 434.9 kB / 0.7343 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3399, allocations: 0 / 0.7343 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005674/0.3405, allocations: 402.8 kB / 0.7347 GB, free: 4.004 MB / 0.5417 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.001168/0.3416, allocations: 0.6229 MB / 0.7353 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008932/0.3425, allocations: 0.6713 MB / 0.7359 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3425, allocations: 4 kB / 0.7359 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004833/0.343, allocations: 489.2 kB / 0.7364 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.3437, allocations: 351.2 kB / 0.7367 GB, free: 2.129 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.3461, allocations: 1.846 MB / 0.7385 GB, free: 252 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.3463, allocations: 215.2 kB / 0.7387 GB, free: 16 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004572/0.3467, allocations: 259.3 kB / 0.739 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.3469, allocations: 112.4 kB / 0.7391 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of SimCode: time 5.61e-07/0.3469, allocations: 0 / 0.7391 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of Templates: time 0.01818/0.3651, allocations: 16.01 MB / 0.7547 GB, free: 15.91 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.383976131211966]