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.001885/0.001885, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001748/0.001748, allocations: 200 kB / 16.26 MB, free: 6.629 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002637/0.002637, allocations: 282.5 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.6 MB / 0.507 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002788, allocations: 98.3 kB / 0.6059 GB, free: 24.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2043, allocations: 89.16 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007829/0.2122, allocations: 4.933 MB / 0.6978 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5094/0.7216, allocations: 148.4 MB / 0.8427 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008703/0.7226, allocations: 23.09 kB / 0.8427 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.7232, allocations: 151.5 kB / 0.8429 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.7248, allocations: 0.492 MB / 0.8434 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.7267, allocations: 0.7597 MB / 0.8441 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001618/0.7283, allocations: 1.415 MB / 0.8455 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000888/0.7292, allocations: 0.5982 MB / 0.8461 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007654/0.73, allocations: 0.4961 MB / 0.8466 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006459/0.7307, allocations: 0.5185 MB / 0.8471 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.7308, allocations: 115.7 kB / 0.8472 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00093/0.7318, allocations: 463.7 kB / 0.8476 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.732, allocations: 299.1 kB / 0.8479 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000493/0.7325, allocations: 0.5795 MB / 0.8485 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.7343, allocations: 1.613 MB / 0.85 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7343, allocations: 0 / 0.85 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7344, allocations: 0 / 0.85 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.7344, allocations: 0 / 0.85 GB, free: 4.688 MB / 0.5762 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.002719/0.7371, allocations: 1.469 MB / 0.8515 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.7371, allocations: 8.75 kB / 0.8515 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.7385, allocations: 230.7 kB / 0.8517 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.7397, allocations: 0.7459 MB / 0.8524 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/0.7398, allocations: 61.22 kB / 0.8525 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.7399, allocations: 89.47 kB / 0.8526 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.7418, allocations: 0.9827 MB / 0.8535 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.7418, allocations: 6.125 kB / 0.8535 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.742e-05/0.7419, allocations: 38.41 kB / 0.8536 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.742, allocations: 23.22 kB / 0.8536 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.7441, allocations: 1.166 MB / 0.8547 GB, free: 1.523 MB / 0.5762 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.004948/0.7491, allocations: 3.041 MB / 0.8577 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.7509, allocations: 0.9504 MB / 0.8586 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005289/0.7515, allocations: 313.7 kB / 0.8589 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.361e-05/0.7516, allocations: 25.64 kB / 0.859 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009717/0.7526, allocations: 0.5059 MB / 0.8594 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 2.955e-06/0.7526, allocations: 0 / 0.8594 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.00335/0.7559, allocations: 1.227 MB / 0.8606 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.7561, allocations: 196.5 kB / 0.8608 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007995/0.7569, allocations: 0.6339 MB / 0.8615 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-05/0.757, allocations: 42.02 kB / 0.8615 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.7573, allocations: 414.7 kB / 0.8619 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.7576, allocations: 271.4 kB / 0.8621 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.7578, allocations: 169.5 kB / 0.8623 GB, free: 12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.758, allocations: 383.7 kB / 0.8627 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.7586, allocations: 276.2 kB / 0.8629 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.7592, allocations: 397.6 kB / 0.8633 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.7604, allocations: 0.6457 MB / 0.8639 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7604, allocations: 0 / 0.8639 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00203/0.7624, allocations: 0.8912 MB / 0.8648 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.7624, allocations: 4.312 kB / 0.8648 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7625, allocations: 3.344 kB / 0.8648 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006677/0.7631, allocations: 77.5 kB / 0.8649 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.7638, allocations: 170.1 kB / 0.8651 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.7662, allocations: 1.646 MB / 0.8667 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008633/0.767, allocations: 102.4 kB / 0.8668 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.687e-05/0.7671, allocations: 40.81 kB / 0.8668 GB, free: 8.656 MB / 0.5919 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.0004865/0.7676, allocations: 266.9 kB / 0.8671 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.7678, allocations: 83.72 kB / 0.8671 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.7703, allocations: 1.089 MB / 0.8682 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.7703, allocations: 9.625 kB / 0.8682 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7703, allocations: 2.906 kB / 0.8682 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.7703, allocations: 7.969 kB / 0.8682 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/0.7741, allocations: 2.094 MB / 0.8703 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.7741, allocations: 0 / 0.8703 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006314/0.7748, allocations: 151.7 kB / 0.8704 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.7753, allocations: 76.78 kB / 0.8705 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.7753, allocations: 23.98 kB / 0.8705 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.7774, allocations: 1.663 MB / 0.8721 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7774, allocations: 0 / 0.8721 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.7797, allocations: 1.012 MB / 0.8731 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/0.7801, allocations: 271.7 kB / 0.8734 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.7803, allocations: 16 kB / 0.8734 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/0.781, allocations: 80.28 kB / 0.8735 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.7812, allocations: 72.89 kB / 0.8735 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/0.7813, allocations: 39.97 kB / 0.8736 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006233/0.7819, allocations: 459 kB / 0.874 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7819, allocations: 0 / 0.874 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009802/0.7829, allocations: 327.2 kB / 0.8743 GB, free: 1.309 MB / 0.5919 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.001999/0.7849, allocations: 0.6102 MB / 0.8749 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002585/0.7875, allocations: 1.062 MB / 0.876 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7875, allocations: 0 / 0.876 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00099/0.7885, allocations: 0.5279 MB / 0.8765 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.7899, allocations: 327.6 kB / 0.8768 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.7933, allocations: 2.103 MB / 0.8788 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/0.794, allocations: 1.027 MB / 0.8798 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009317/0.7949, allocations: 270.8 kB / 0.8801 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.7952, allocations: 119.3 kB / 0.8802 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of SimCode: time 9.31e-07/0.7952, allocations: 0 / 0.8802 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.02969/0.8249, allocations: 15.64 MB / 0.8955 GB, free: 11.95 MB / 0.6231 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)