Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.372/2.372, allocations: 248.7 MB / 256.2 MB, free: 7.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 182.7 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001699/0.001698, allocations: 101.7 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.71e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.456/7.659, allocations: 2.19 GB / 3.074 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/7.659, allocations: 83.44 kB / 3.074 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.206/7.865, allocations: 55.77 MB / 3.128 GB, free: 131 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.174e-06/7.865, allocations: 4 kB / 3.128 GB, free: 131 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.968e-05/7.865, allocations: 20 kB / 3.128 GB, free: 131 MB / 0.8698 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.002292/7.868, allocations: 1.063 MB / 3.129 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/7.868, allocations: 8.031 kB / 3.129 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/7.87, allocations: 238.5 kB / 3.13 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/7.871, allocations: 0.6152 MB / 3.13 GB, free: 129 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/7.871, allocations: 28 kB / 3.13 GB, free: 129 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/7.871, allocations: 44 kB / 3.13 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002217/7.874, allocations: 0.9992 MB / 3.131 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/7.875, allocations: 0.7492 MB / 3.132 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/7.875, allocations: 7.891 kB / 3.132 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/7.875, allocations: 0 / 3.132 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/7.876, allocations: 20 kB / 3.132 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005429/7.881, allocations: 2.521 MB / 3.135 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/7.883, allocations: 0.769 MB / 3.135 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/7.883, allocations: 239.3 kB / 3.135 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/7.883, allocations: 36.8 kB / 3.136 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008299/7.884, allocations: 399.6 kB / 3.136 GB, free: 123 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 3.186e-06/7.884, allocations: 0 / 3.136 GB, free: 123 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.002508/7.887, allocations: 0.6408 MB / 3.137 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/7.887, allocations: 244.1 kB / 3.137 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/7.888, allocations: 0.4944 MB / 3.137 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002156/7.888, allocations: 29.64 kB / 3.137 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/7.889, allocations: 384.1 kB / 3.138 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/7.889, allocations: 240.5 kB / 3.138 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/7.889, allocations: 0 / 3.138 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001203/7.889, allocations: 370.8 kB / 3.138 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/7.89, allocations: 189.5 kB / 3.138 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/7.89, allocations: 314.1 kB / 3.139 GB, free: 120 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/7.891, allocations: 240.4 kB / 3.139 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/7.891, allocations: 0 / 3.139 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002331/7.893, allocations: 0.668 MB / 3.14 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/7.893, allocations: 7.938 kB / 3.14 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/7.893, allocations: 160 / 3.14 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009568/7.894, allocations: 80.78 kB / 3.14 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/7.895, allocations: 151.8 kB / 3.14 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/7.898, allocations: 1.449 MB / 3.141 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/7.899, allocations: 75.48 kB / 3.141 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/7.899, allocations: 27.98 kB / 3.141 GB, free: 117.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0002451/7.899, allocations: 125.8 kB / 3.141 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002249/7.902, allocations: 0.6524 MB / 3.142 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/7.902, allocations: 71.16 kB / 3.142 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003029/7.905, allocations: 0.8995 MB / 3.143 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/7.905, allocations: 11.98 kB / 3.143 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/7.905, allocations: 3.938 kB / 3.143 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/7.905, allocations: 3.984 kB / 3.143 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/7.909, allocations: 1.749 MB / 3.145 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/7.909, allocations: 0 / 3.145 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/7.91, allocations: 147.8 kB / 3.145 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008285/7.911, allocations: 84.77 kB / 3.145 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/7.911, allocations: 11.98 kB / 3.145 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/7.913, allocations: 1.473 MB / 3.146 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/7.913, allocations: 0 / 3.146 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/7.916, allocations: 0.8182 MB / 3.147 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/7.916, allocations: 275.8 kB / 3.147 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/7.917, allocations: 11.89 kB / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/7.918, allocations: 56 kB / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/7.918, allocations: 60.84 kB / 3.148 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.871e-05/7.918, allocations: 35.97 kB / 3.148 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006554/7.919, allocations: 406.8 kB / 3.148 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-07/7.919, allocations: 4 kB / 3.148 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00135/7.92, allocations: 303.1 kB / 3.148 GB, free: 109.8 MB / 0.8698 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) * 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.004622/7.925, allocations: 2.293 MB / 3.151 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001798/7.926, allocations: 0.6511 MB / 3.151 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/7.926, allocations: 0 / 3.151 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009683/7.927, allocations: 452.8 kB / 3.152 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/7.929, allocations: 229.7 kB / 3.152 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005847/7.935, allocations: 1.459 MB / 3.153 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/7.936, allocations: 1.027 MB / 3.154 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001393/7.937, allocations: 261.9 kB / 3.155 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006924/7.938, allocations: 347.3 kB / 3.155 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.192e-06/7.938, allocations: 3.938 kB / 3.155 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08927/8.027, allocations: 23.17 MB / 3.177 GB, free: 79.99 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/8.028, allocations: 189.8 kB / 3.178 GB, free: 79.79 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/11.63, allocations: 0 / 3.178 GB, free: 79.79 MB / 0.8698 GB