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.0008511/0.0008511, 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.0009396/0.0009396, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.8901/0.8901, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001653/0.001653, allocations: 233.9 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.6755/0.6755, allocations: 138.4 MB / 455.2 MB, free: 1.527 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.994e-06/1.994e-06, allocations: 4 kB / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.962e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004455/0.004475, allocations: 4.802 MB / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2832/0.2877, allocations: 146.6 MB / 0.7029 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006203/0.2883, allocations: 23.81 kB / 0.7029 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.2888, allocations: 202.1 kB / 0.7031 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.29, allocations: 0.5838 MB / 0.7037 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.2914, allocations: 0.8795 MB / 0.7046 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2925, allocations: 1.478 MB / 0.706 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005473/0.293, allocations: 414 kB / 0.7064 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007313/0.2937, allocations: 0.7523 MB / 0.7071 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.2941, allocations: 410.8 kB / 0.7075 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.2942, allocations: 120 kB / 0.7076 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007526/0.295, allocations: 497.5 kB / 0.7081 GB, free: 72 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.2952, allocations: 320.3 kB / 0.7084 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.2956, allocations: 391 kB / 0.7088 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.2971, allocations: 1.288 MB / 0.71 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2971, allocations: 0 / 0.71 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2971, allocations: 0 / 0.71 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.2971, allocations: 0 / 0.71 GB, free: 14.08 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001696/0.2988, allocations: 1.53 MB / 0.7115 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2988, allocations: 8.75 kB / 0.7115 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009574/0.2998, allocations: 363.5 kB / 0.7119 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/0.3006, allocations: 0.7247 MB / 0.7126 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.3006, allocations: 70.56 kB / 0.7127 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/0.3007, allocations: 91.94 kB / 0.7128 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.3017, allocations: 1.063 MB / 0.7138 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3018, allocations: 0 / 0.7138 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/0.3018, allocations: 43.98 kB / 0.7138 GB, free: 10 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.3018, allocations: 20 kB / 0.7139 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009168/0.3027, allocations: 0.8153 MB / 0.7147 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.3051, allocations: 2.651 MB / 0.7172 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007844/0.3059, allocations: 0.5055 MB / 0.7177 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.3062, allocations: 174.1 kB / 0.7179 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.092e-05/0.3062, allocations: 28.64 kB / 0.7179 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004649/0.3067, allocations: 0.4961 MB / 0.7184 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=83): time 1.814e-06/0.3067, allocations: 0 / 0.7184 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of matching and sorting (n=83): time 0.001513/0.3082, allocations: 0.8197 MB / 0.7192 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.3083, allocations: 196.9 kB / 0.7194 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/0.3088, allocations: 0.5932 MB / 0.72 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.3089, allocations: 45.7 kB / 0.72 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.3091, allocations: 471.7 kB / 0.7205 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.3092, allocations: 273.7 kB / 0.7207 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.3094, allocations: 184.2 kB / 0.7209 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3096, allocations: 0.5625 MB / 0.7215 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.3098, allocations: 129.9 kB / 0.7216 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.3101, allocations: 404.3 kB / 0.722 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.3106, allocations: 421.6 kB / 0.7224 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3106, allocations: 0 / 0.7224 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0009488/0.3116, allocations: 0.6528 MB / 0.723 GB, free: 280 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3116, allocations: 16.5 kB / 0.723 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3116, allocations: 0 / 0.723 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000456/0.312, allocations: 131.8 kB / 0.7231 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.3124, allocations: 167.7 kB / 0.7233 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.3136, allocations: 1.899 MB / 0.7252 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.3139, allocations: 83.48 kB / 0.7252 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.314, allocations: 35.97 kB / 0.7253 GB, free: 13.82 MB / 0.5417 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.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 (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.0001904/0.3142, allocations: 214.5 kB / 0.7255 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.3143, allocations: 111.4 kB / 0.7256 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.3155, allocations: 0.8395 MB / 0.7264 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3155, allocations: 12 kB / 0.7264 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.3155, allocations: 4 kB / 0.7264 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3155, allocations: 3.984 kB / 0.7264 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.3174, allocations: 1.536 MB / 0.7279 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.3174, allocations: 3.938 kB / 0.7279 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.3177, allocations: 151.7 kB / 0.7281 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003374/0.318, allocations: 111.6 kB / 0.7282 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.318, allocations: 31.97 kB / 0.7282 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.3191, allocations: 1.925 MB / 0.7301 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3191, allocations: 0 / 0.7301 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.3201, allocations: 0.861 MB / 0.7309 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.3203, allocations: 201.4 kB / 0.7311 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-05/0.3204, allocations: 27.89 kB / 0.7312 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.3206, allocations: 47.95 kB / 0.7312 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3208, allocations: 72.86 kB / 0.7313 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.3208, allocations: 39.97 kB / 0.7313 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002951/0.3211, allocations: 399 kB / 0.7317 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3211, allocations: 0 / 0.7317 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005366/0.3216, allocations: 343.1 kB / 0.732 GB, free: 6.715 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.001129/0.3228, allocations: 0.6224 MB / 0.7326 GB, free: 6.336 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008237/0.3236, allocations: 0.6677 MB / 0.7333 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3236, allocations: 0 / 0.7333 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.324, allocations: 481 kB / 0.7337 GB, free: 5.164 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000855/0.3249, allocations: 345.9 kB / 0.7341 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.3268, allocations: 1.545 MB / 0.7356 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.3269, allocations: 194.6 kB / 0.7358 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004123/0.3274, allocations: 258.1 kB / 0.736 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.3275, allocations: 112.4 kB / 0.7361 GB, free: 2.707 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/0.3275, allocations: 0 / 0.7361 GB, free: 2.707 MB / 0.5417 GB Notification: Performance of Templates: time 0.0173/0.3448, allocations: 16.05 MB / 0.7518 GB, free: 2.93 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.139632489997894]