Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.673/2.673, allocations: 287.3 MB / 302.3 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 178.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 90 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004795, allocations: 10.94 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2218, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006707/0.2286, allocations: 3.534 MB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8939/1.123, allocations: 127.2 MB / 1.106 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007966/1.123, allocations: 15.64 kB / 1.106 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000441/1.124, allocations: 70.55 kB / 1.106 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002142/1.126, allocations: 436.3 kB / 1.106 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002737/1.129, allocations: 0.596 MB / 1.107 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002166/1.131, allocations: 0.7513 MB / 1.108 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/1.132, allocations: 473.7 kB / 1.108 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009623/1.133, allocations: 306 kB / 1.108 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00078/1.134, allocations: 294.6 kB / 1.109 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/1.134, allocations: 22.78 kB / 1.109 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/1.135, allocations: 242 kB / 1.109 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/1.136, allocations: 166.7 kB / 1.109 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003602/1.136, allocations: 178.3 kB / 1.109 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002612/1.139, allocations: 1.026 MB / 1.11 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/1.139, allocations: 1.438 kB / 1.11 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.825e-06/1.139, allocations: 0 / 1.11 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.218e-05/1.139, allocations: 0 / 1.11 GB, free: 1.098 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003887/1.143, allocations: 1.137 MB / 1.111 GB, free: 16.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.143, allocations: 9.594 kB / 1.111 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/1.145, allocations: 244.1 kB / 1.112 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/1.147, allocations: 0.6838 MB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/1.147, allocations: 61.25 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/1.148, allocations: 78.67 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/1.151, allocations: 0.9004 MB / 1.113 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/1.151, allocations: 4.703 kB / 1.113 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/1.151, allocations: 35.56 kB / 1.113 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/1.151, allocations: 23.8 kB / 1.113 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003831/1.155, allocations: 1.119 MB / 1.114 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007435/1.162, allocations: 2.687 MB / 1.117 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/1.165, allocations: 0.8796 MB / 1.118 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/1.165, allocations: 29.95 kB / 1.118 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/1.167, allocations: 431.8 kB / 1.118 GB, free: 14.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 4.238e-06/1.167, allocations: 1.859 kB / 1.118 GB, free: 14.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.005021/1.172, allocations: 1.095 MB / 1.119 GB, free: 14.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.172, allocations: 192 kB / 1.12 GB, free: 14.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/1.173, allocations: 0.5699 MB / 1.12 GB, free: 13.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002329/1.173, allocations: 40.83 kB / 1.12 GB, free: 13.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/1.174, allocations: 391.9 kB / 1.121 GB, free: 13.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003656/1.174, allocations: 248.7 kB / 1.121 GB, free: 13.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/1.174, allocations: 13.06 kB / 1.121 GB, free: 13.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002062/1.174, allocations: 376.9 kB / 1.121 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007786/1.175, allocations: 218.4 kB / 1.121 GB, free: 13.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009149/1.176, allocations: 341.2 kB / 1.122 GB, free: 13.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009032/1.177, allocations: 270 kB / 1.122 GB, free: 13.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/1.177, allocations: 1.25 kB / 1.122 GB, free: 13.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003008/1.18, allocations: 0.7498 MB / 1.123 GB, free: 13.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/1.18, allocations: 13.8 kB / 1.123 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.18, allocations: 0 / 1.123 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000963/1.181, allocations: 83.11 kB / 1.123 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/1.182, allocations: 146.9 kB / 1.123 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/1.186, allocations: 1.533 MB / 1.124 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.187, allocations: 84.39 kB / 1.125 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/1.187, allocations: 28.61 kB / 1.125 GB, free: 11.68 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007725/1.188, allocations: 262.5 kB / 1.125 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/1.188, allocations: 70 kB / 1.125 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/1.192, allocations: 0.9976 MB / 1.126 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/1.192, allocations: 9.188 kB / 1.126 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.192, allocations: 7.953 kB / 1.126 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/1.192, allocations: 6.953 kB / 1.126 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0055/1.197, allocations: 1.921 MB / 1.128 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/1.198, allocations: 0 / 1.128 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/1.199, allocations: 147.2 kB / 1.128 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008768/1.2, allocations: 89.77 kB / 1.128 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/1.2, allocations: 22.86 kB / 1.128 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/1.203, allocations: 1.552 MB / 1.13 GB, free: 9.609 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.203, allocations: 0 / 1.13 GB, free: 9.609 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/1.206, allocations: 0.9165 MB / 1.13 GB, free: 9.391 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007292/1.207, allocations: 270.5 kB / 1.131 GB, free: 9.242 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/1.207, allocations: 16.25 kB / 1.131 GB, free: 9.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.208, allocations: 69.84 kB / 1.131 GB, free: 9.238 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/1.208, allocations: 64.31 kB / 1.131 GB, free: 9.234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.208, allocations: 34.95 kB / 1.131 GB, free: 9.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008567/1.209, allocations: 416.4 kB / 1.131 GB, free: 9.113 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.01e-07/1.209, allocations: 1.031 kB / 1.131 GB, free: 9.113 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001487/1.211, allocations: 270.4 kB / 1.132 GB, free: 9.062 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002011/1.213, allocations: 0.5561 MB / 1.132 GB, free: 8.824 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002983/1.216, allocations: 0.7411 MB / 1.133 GB, free: 8.602 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.216, allocations: 1.469 kB / 1.133 GB, free: 8.602 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/1.218, allocations: 498.7 kB / 1.133 GB, free: 8.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/1.22, allocations: 247.8 kB / 1.134 GB, free: 8.332 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006949/1.227, allocations: 2.047 MB / 1.136 GB, free: 7.195 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009283/1.228, allocations: 1.02 MB / 1.137 GB, free: 6.355 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001661/1.23, allocations: 259.3 kB / 1.137 GB, free: 6.223 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004631/1.23, allocations: 94.73 kB / 1.137 GB, free: 6.203 MB / 0.698 GB Notification: Performance of SimCode: time 1.763e-06/1.23, allocations: 3.938 kB / 1.137 GB, free: 6.199 MB / 0.698 GB Notification: Performance of Templates: time 0.04077/1.271, allocations: 12.89 MB / 1.149 GB, free: 15.72 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)