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.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 105.8 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 192 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002739/0.002739, allocations: 299 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002716/0.002716, allocations: 91.84 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7448/0.7476, allocations: 86.98 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00727/0.7548, allocations: 4.438 MB / 0.7714 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2209/0.9757, allocations: 151 MB / 0.9188 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.977, allocations: 23.88 kB / 0.9188 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007363/0.9778, allocations: 178.3 kB / 0.919 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.9799, allocations: 0.5214 MB / 0.9195 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.9823, allocations: 0.8459 MB / 0.9204 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.984, allocations: 1.335 MB / 0.9217 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008314/0.9848, allocations: 477.1 kB / 0.9221 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007401/0.9856, allocations: 0.4983 MB / 0.9226 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006812/0.9863, allocations: 0.4978 MB / 0.9231 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.9864, allocations: 119.9 kB / 0.9232 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.9875, allocations: 487.6 kB / 0.9237 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003235/0.9878, allocations: 295 kB / 0.9239 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005672/0.9884, allocations: 0.5596 MB / 0.9245 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.9907, allocations: 1.632 MB / 0.9261 GB, free: 424 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.9908, allocations: 4 kB / 0.9261 GB, free: 420 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.946e-06/0.9908, allocations: 0 / 0.9261 GB, free: 420 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.288e-05/0.9908, allocations: 0 / 0.9261 GB, free: 420 kB / 0.6856 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.00304/0.9938, allocations: 1.484 MB / 0.9275 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.9939, allocations: 8.031 kB / 0.9275 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.9952, allocations: 236 kB / 0.9278 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.9967, allocations: 0.7778 MB / 0.9285 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.512e-05/0.9968, allocations: 73.92 kB / 0.9286 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.9969, allocations: 88 kB / 0.9287 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.9989, allocations: 0.9755 MB / 0.9296 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.999, allocations: 0 / 0.9296 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.9991, allocations: 40 kB / 0.9297 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.9991, allocations: 20 kB / 0.9297 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/1.001, allocations: 1.171 MB / 0.9308 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004827/1.006, allocations: 2.798 MB / 0.9336 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/1.008, allocations: 0.891 MB / 0.9344 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/1.009, allocations: 286.7 kB / 0.9347 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.505e-05/1.009, allocations: 28.61 kB / 0.9347 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009267/1.01, allocations: 0.4969 MB / 0.9352 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=83): time 2.926e-06/1.01, allocations: 0 / 0.9352 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.003412/1.013, allocations: 1.232 MB / 0.9364 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/1.013, allocations: 196.9 kB / 0.9366 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009294/1.014, allocations: 0.6409 MB / 0.9372 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/1.014, allocations: 41.7 kB / 0.9373 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/1.015, allocations: 413 kB / 0.9377 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/1.015, allocations: 289.5 kB / 0.938 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/1.015, allocations: 170.6 kB / 0.9381 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.015, allocations: 386.8 kB / 0.9385 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/1.016, allocations: 273.8 kB / 0.9387 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/1.017, allocations: 385.6 kB / 0.9391 GB, free: 2.676 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/1.018, allocations: 0.6423 MB / 0.9397 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.018, allocations: 4 kB / 0.9397 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002146/1.02, allocations: 0.8842 MB / 0.9406 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.02, allocations: 11.94 kB / 0.9406 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.02, allocations: 0 / 0.9406 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/1.021, allocations: 80.97 kB / 0.9407 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/1.021, allocations: 171.7 kB / 0.9409 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/1.024, allocations: 1.623 MB / 0.9424 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/1.025, allocations: 99.45 kB / 0.9425 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/1.025, allocations: 39.97 kB / 0.9426 GB, free: 14.95 MB / 0.7169 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.0006063/1.025, allocations: 278 kB / 0.9428 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/1.025, allocations: 91.44 kB / 0.9429 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/1.028, allocations: 1.085 MB / 0.944 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.028, allocations: 8 kB / 0.944 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/1.028, allocations: 4 kB / 0.944 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.028, allocations: 3.984 kB / 0.944 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/1.032, allocations: 2.091 MB / 0.946 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.032, allocations: 0 / 0.946 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/1.033, allocations: 151.8 kB / 0.9462 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004642/1.033, allocations: 72.78 kB / 0.9463 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/1.033, allocations: 23.98 kB / 0.9463 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/1.035, allocations: 1.666 MB / 0.9479 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.035, allocations: 0 / 0.9479 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/1.037, allocations: 1.014 MB / 0.9489 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/1.038, allocations: 276.2 kB / 0.9492 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.038, allocations: 31.95 kB / 0.9492 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/1.039, allocations: 63.98 kB / 0.9493 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/1.039, allocations: 76.78 kB / 0.9493 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/1.039, allocations: 43.91 kB / 0.9494 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006634/1.04, allocations: 455 kB / 0.9498 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/1.04, allocations: 0 / 0.9498 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001051/1.041, allocations: 331.1 kB / 0.9501 GB, free: 6.941 MB / 0.7169 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.002018/1.043, allocations: 0.6024 MB / 0.9507 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001956/1.045, allocations: 0.8159 MB / 0.9515 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.045, allocations: 4 kB / 0.9515 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009679/1.046, allocations: 0.4923 MB / 0.952 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/1.047, allocations: 302.3 kB / 0.9523 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/1.051, allocations: 1.816 MB / 0.9541 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007238/1.052, allocations: 1.027 MB / 0.9551 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009353/1.053, allocations: 270.8 kB / 0.9553 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/1.053, allocations: 107.4 kB / 0.9554 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of SimCode: time 1.392e-06/1.053, allocations: 0 / 0.9554 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of Templates: time 0.4915/1.545, allocations: 15.56 MB / 0.9706 GB, free: 182.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)