Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001475/0.001475, allocations: 105.5 kB / 15.98 MB, free: 5.871 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.001388/0.001388, allocations: 197.5 kB / 16.91 MB, free: 5.738 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.465/1.465, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7179/0.7179, allocations: 122.9 MB / 413.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 68.67 kB / 0.4906 GB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1395, allocations: 77.93 MB / 0.5667 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007152/0.1467, allocations: 4.915 MB / 0.5715 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4882/0.635, allocations: 148.4 MB / 0.7164 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.6362, allocations: 19.88 kB / 0.7164 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006294/0.6369, allocations: 150.8 kB / 0.7166 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.6385, allocations: 495.3 kB / 0.7171 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.6403, allocations: 0.7568 MB / 0.7178 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.6416, allocations: 1.424 MB / 0.7192 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008305/0.6424, allocations: 0.6027 MB / 0.7198 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006256/0.6431, allocations: 0.4943 MB / 0.7203 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005393/0.6436, allocations: 0.5173 MB / 0.7208 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.6438, allocations: 116 kB / 0.7209 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007777/0.6446, allocations: 462.2 kB / 0.7213 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.6448, allocations: 303 kB / 0.7216 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004931/0.6453, allocations: 0.5713 MB / 0.7222 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.647, allocations: 1.624 MB / 0.7238 GB, free: 6.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.647, allocations: 0 / 0.7238 GB, free: 6.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.234e-06/0.647, allocations: 0 / 0.7238 GB, free: 6.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.647, allocations: 0 / 0.7238 GB, free: 6.73 MB / 0.545 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.00253/0.6496, allocations: 1.466 MB / 0.7252 GB, free: 5.211 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.6496, allocations: 8.031 kB / 0.7252 GB, free: 5.203 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.6508, allocations: 227.4 kB / 0.7254 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009642/0.6518, allocations: 0.7426 MB / 0.7261 GB, free: 4.195 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.847e-05/0.6518, allocations: 66 kB / 0.7262 GB, free: 4.129 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.652, allocations: 87.94 kB / 0.7263 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.6537, allocations: 0.9911 MB / 0.7273 GB, free: 3.004 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.6537, allocations: 4 kB / 0.7273 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.319e-05/0.6538, allocations: 36 kB / 0.7273 GB, free: 2.965 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.6539, allocations: 23.98 kB / 0.7273 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.6558, allocations: 1.167 MB / 0.7285 GB, free: 1.77 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004436/0.6603, allocations: 3.026 MB / 0.7314 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.6621, allocations: 0.9447 MB / 0.7323 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/0.6626, allocations: 310.3 kB / 0.7326 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.499e-05/0.6627, allocations: 32.61 kB / 0.7327 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009495/0.6637, allocations: 0.506 MB / 0.7332 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=83): time 2.415e-06/0.6637, allocations: 0 / 0.7332 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.003248/0.667, allocations: 1.224 MB / 0.7343 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.6671, allocations: 196.9 kB / 0.7345 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008404/0.6679, allocations: 0.637 MB / 0.7352 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/0.668, allocations: 45.7 kB / 0.7352 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.6684, allocations: 404.3 kB / 0.7356 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.6687, allocations: 272.1 kB / 0.7358 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.6689, allocations: 174.5 kB / 0.736 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.6691, allocations: 386.7 kB / 0.7364 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.6697, allocations: 273.9 kB / 0.7366 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/0.6703, allocations: 385.7 kB / 0.737 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.6715, allocations: 0.6501 MB / 0.7376 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6715, allocations: 0 / 0.7376 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002152/0.6736, allocations: 0.8876 MB / 0.7385 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.6737, allocations: 4 kB / 0.7385 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.6737, allocations: 7.938 kB / 0.7385 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006468/0.6743, allocations: 88.7 kB / 0.7386 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/0.6751, allocations: 171.8 kB / 0.7388 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.6772, allocations: 1.635 MB / 0.7404 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008281/0.6781, allocations: 103.2 kB / 0.7405 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.387e-05/0.6781, allocations: 39.97 kB / 0.7405 GB, free: 4.957 MB / 0.5606 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.0004998/0.6786, allocations: 267.5 kB / 0.7408 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.6788, allocations: 82.97 kB / 0.7408 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.6813, allocations: 1.098 MB / 0.7419 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.6813, allocations: 8 kB / 0.7419 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.6813, allocations: 4 kB / 0.7419 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.6813, allocations: 3.984 kB / 0.7419 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.6848, allocations: 2.097 MB / 0.744 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6848, allocations: 0 / 0.744 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/0.6854, allocations: 155.7 kB / 0.7441 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/0.6859, allocations: 68.78 kB / 0.7442 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.6859, allocations: 23.98 kB / 0.7442 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.6878, allocations: 1.662 MB / 0.7458 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6878, allocations: 4.062 kB / 0.7458 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.6898, allocations: 1.008 MB / 0.7468 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.6902, allocations: 275.7 kB / 0.7471 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.6903, allocations: 16 kB / 0.7471 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006918/0.691, allocations: 77.25 kB / 0.7472 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.6912, allocations: 80.89 kB / 0.7472 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.6913, allocations: 39.97 kB / 0.7473 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005472/0.6918, allocations: 459 kB / 0.7477 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6919, allocations: 0 / 0.7477 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008914/0.6928, allocations: 327.3 kB / 0.748 GB, free: 12.97 MB / 0.5762 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.001359/0.6941, allocations: 0.6063 MB / 0.7486 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.6966, allocations: 1.062 MB / 0.7497 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6966, allocations: 0 / 0.7497 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009319/0.6975, allocations: 0.524 MB / 0.7502 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.6988, allocations: 328.3 kB / 0.7505 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.702, allocations: 2.103 MB / 0.7525 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.7026, allocations: 1.027 MB / 0.7535 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008783/0.7035, allocations: 274.8 kB / 0.7538 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.7037, allocations: 111.3 kB / 0.7539 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.7038, allocations: 0 / 0.7539 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of Templates: time 0.02616/0.7299, allocations: 15.61 MB / 0.7692 GB, free: 7.645 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)