Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.00103/0.00103, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001014/0.001014, allocations: 169 kB / 23.27 MB, free: 1.227 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.9365/0.9365, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.001586/0.001586, allocations: 229.5 kB / 260.5 MB, free: 12.66 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.6822/0.6822, allocations: 138.4 MB / 455.5 MB, free: 1.398 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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5556 GB, free: 264 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.478e-05, allocations: 2.312 kB / 0.5556 GB, free: 260 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004799/0.004824, allocations: 4.712 MB / 0.5602 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3054/0.3103, allocations: 143.9 MB / 0.7007 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006379/0.3109, allocations: 23.81 kB / 0.7007 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.3114, allocations: 198.1 kB / 0.7009 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.3126, allocations: 0.5937 MB / 0.7015 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.3138, allocations: 0.8794 MB / 0.7023 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0008475/0.3146, allocations: 1.478 MB / 0.7038 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004621/0.3151, allocations: 408.1 kB / 0.7042 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000627/0.3157, allocations: 0.7834 MB / 0.7049 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.316, allocations: 387.3 kB / 0.7053 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.3161, allocations: 112 kB / 0.7054 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005826/0.3166, allocations: 489.1 kB / 0.7059 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.3168, allocations: 295 kB / 0.7061 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.3169, allocations: 379 kB / 0.7065 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0008339/0.3178, allocations: 1.249 MB / 0.7077 GB, free: 292 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3178, allocations: 3.938 kB / 0.7077 GB, free: 288 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3178, allocations: 0 / 0.7077 GB, free: 288 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3178, allocations: 0 / 0.7077 GB, free: 288 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001345/0.3191, allocations: 1.531 MB / 0.7092 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3192, allocations: 12.75 kB / 0.7092 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008458/0.32, allocations: 367.5 kB / 0.7096 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.3207, allocations: 0.715 MB / 0.7103 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.3207, allocations: 62.56 kB / 0.7103 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.3208, allocations: 91.94 kB / 0.7104 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008061/0.3216, allocations: 0.9272 MB / 0.7113 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3216, allocations: 4 kB / 0.7113 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.3216, allocations: 43.98 kB / 0.7114 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.3217, allocations: 20 kB / 0.7114 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006023/0.3223, allocations: 0.6961 MB / 0.7121 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.3243, allocations: 2.505 MB / 0.7145 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/0.3248, allocations: 471.7 kB / 0.715 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.325, allocations: 148.8 kB / 0.7151 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.3251, allocations: 45.34 kB / 0.7152 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.3254, allocations: 471.8 kB / 0.7156 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=83): time 1.804e-06/0.3254, allocations: 0 / 0.7156 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=83): time 0.001196/0.3266, allocations: 0.7454 MB / 0.7163 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.3267, allocations: 196.9 kB / 0.7165 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.3271, allocations: 0.5656 MB / 0.7171 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.3271, allocations: 41.7 kB / 0.7171 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.3273, allocations: 471.6 kB / 0.7176 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.3275, allocations: 281.6 kB / 0.7178 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.3276, allocations: 188.1 kB / 0.718 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3278, allocations: 0.5701 MB / 0.7186 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3279, allocations: 101.9 kB / 0.7187 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.3281, allocations: 366.5 kB / 0.719 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/0.3286, allocations: 361.5 kB / 0.7194 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3286, allocations: 4 kB / 0.7194 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007434/0.3294, allocations: 0.5982 MB / 0.72 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3294, allocations: 12 kB / 0.72 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3294, allocations: 0 / 0.72 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/0.3298, allocations: 127.5 kB / 0.7201 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.3301, allocations: 167.7 kB / 0.7202 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.3313, allocations: 1.88 MB / 0.7221 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.3315, allocations: 75.53 kB / 0.7222 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.3316, allocations: 27.98 kB / 0.7222 GB, free: 0.8672 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.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 (100): * Single equations (assignments): 99 * 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.0001943/0.3318, allocations: 210.4 kB / 0.7224 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3319, allocations: 115.6 kB / 0.7225 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009283/0.3328, allocations: 0.7801 MB / 0.7233 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3328, allocations: 12.62 kB / 0.7233 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3328, allocations: 0 / 0.7233 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3328, allocations: 3.984 kB / 0.7233 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.3342, allocations: 1.345 MB / 0.7246 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3342, allocations: 2.75 kB / 0.7246 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.3345, allocations: 147.8 kB / 0.7247 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003008/0.3348, allocations: 111.6 kB / 0.7248 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.3348, allocations: 27.97 kB / 0.7249 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009505/0.3358, allocations: 1.902 MB / 0.7267 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3358, allocations: 3.516 kB / 0.7267 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007778/0.3365, allocations: 0.8023 MB / 0.7275 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.3368, allocations: 191.8 kB / 0.7277 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.3368, allocations: 20.88 kB / 0.7277 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.337, allocations: 39.97 kB / 0.7277 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.3371, allocations: 68.86 kB / 0.7278 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.3372, allocations: 31.98 kB / 0.7278 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002125/0.3374, allocations: 366.8 kB / 0.7282 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.3374, allocations: 4 kB / 0.7282 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006314/0.338, allocations: 343.1 kB / 0.7285 GB, free: 10.18 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.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 (95): * Single equations (assignments): 89 * 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.001089/0.3391, allocations: 0.6203 MB / 0.7291 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006475/0.3397, allocations: 0.597 MB / 0.7297 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3397, allocations: 4 kB / 0.7297 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.3401, allocations: 453.3 kB / 0.7301 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/0.3408, allocations: 334.4 kB / 0.7305 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.3427, allocations: 1.525 MB / 0.732 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.3428, allocations: 194.6 kB / 0.7321 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003909/0.3432, allocations: 199.9 kB / 0.7323 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005218/0.3438, allocations: 369.9 kB / 0.7327 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of SimCode: time 1.162e-06/0.3438, allocations: 0 / 0.7327 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of Templates: time 0.01876/0.3625, allocations: 17.14 MB / 0.7494 GB, free: 5.242 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.143679634202272]