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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8582/0.8582, allocations: 143.3 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.001569, allocations: 187 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 223.1 MB / 447.7 MB, free: 4.801 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 92.27 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001927/0.001927, allocations: 271.7 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004396, allocations: 16.03 kB / 0.6929 GB, free: 59.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1779, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.044/4.222, allocations: 1.691 GB / 2.465 GB, free: 62.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/4.223, allocations: 96.14 kB / 2.465 GB, free: 62.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1254/4.348, allocations: 58.55 MB / 2.522 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.164e-06/4.348, allocations: 0 / 2.522 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.68e-05/4.348, allocations: 27.94 kB / 2.522 GB, free: 13.03 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002428/4.351, allocations: 1.202 MB / 2.523 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/4.351, allocations: 12.03 kB / 2.523 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/4.351, allocations: 130.2 kB / 2.523 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/4.352, allocations: 242.3 kB / 2.523 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/4.353, allocations: 0.6136 MB / 2.524 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/4.353, allocations: 75.73 kB / 2.524 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.806e-05/4.354, allocations: 77.75 kB / 2.524 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/4.355, allocations: 0.9218 MB / 2.525 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/4.355, allocations: 0 / 2.525 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.994e-05/4.355, allocations: 38.75 kB / 2.525 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/4.355, allocations: 20 kB / 2.525 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/4.357, allocations: 1.132 MB / 2.526 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/4.361, allocations: 2.716 MB / 2.529 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/4.362, allocations: 0.8857 MB / 2.53 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/4.362, allocations: 23.27 kB / 2.53 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006827/4.363, allocations: 433.8 kB / 2.53 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=74): time 3.106e-06/4.363, allocations: 4 kB / 2.53 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74): time 0.002736/4.366, allocations: 1.104 MB / 2.531 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/4.366, allocations: 244 kB / 2.532 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006993/4.367, allocations: 0.5932 MB / 2.532 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/4.367, allocations: 41.7 kB / 2.532 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/4.367, allocations: 380.2 kB / 2.533 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/4.367, allocations: 248.4 kB / 2.533 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/4.367, allocations: 8 kB / 2.533 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/4.367, allocations: 386.8 kB / 2.533 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/4.367, allocations: 217.2 kB / 2.533 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/4.368, allocations: 350.2 kB / 2.534 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/4.368, allocations: 275.1 kB / 2.534 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/4.368, allocations: 0 / 2.534 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001557/4.37, allocations: 0.7548 MB / 2.535 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/4.37, allocations: 4 kB / 2.535 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/4.37, allocations: 4 kB / 2.535 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/4.371, allocations: 84.92 kB / 2.535 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/4.371, allocations: 139.8 kB / 2.535 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3718/4.743, allocations: 1.531 MB / 2.536 GB, free: 232.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/4.744, allocations: 82.8 kB / 2.536 GB, free: 232.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/4.744, allocations: 34.77 kB / 2.537 GB, free: 232.9 MB / 0.7136 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 () * Number of clocked 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.0006041/4.745, allocations: 252.2 kB / 2.537 GB, free: 232.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/4.745, allocations: 81.83 kB / 2.537 GB, free: 232.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/4.747, allocations: 1.014 MB / 2.538 GB, free: 232.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/4.747, allocations: 9.062 kB / 2.538 GB, free: 232.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/4.747, allocations: 0 / 2.538 GB, free: 232.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/4.747, allocations: 3.375 kB / 2.538 GB, free: 232.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/4.75, allocations: 1.981 MB / 2.54 GB, free: 232.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/4.75, allocations: 1.312 kB / 2.54 GB, free: 232.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/4.751, allocations: 146.4 kB / 2.54 GB, free: 232.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005046/4.751, allocations: 90.5 kB / 2.54 GB, free: 232.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/4.751, allocations: 26.25 kB / 2.54 GB, free: 232.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/4.753, allocations: 1.556 MB / 2.542 GB, free: 231 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/4.753, allocations: 0 / 2.542 GB, free: 231 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/4.754, allocations: 0.9207 MB / 2.542 GB, free: 230.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/4.755, allocations: 282.4 kB / 2.543 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/4.755, allocations: 20.56 kB / 2.543 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005763/4.756, allocations: 70.88 kB / 2.543 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/4.756, allocations: 59.83 kB / 2.543 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.745e-05/4.756, allocations: 31.84 kB / 2.543 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007152/4.756, allocations: 486.5 kB / 2.543 GB, free: 230.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.81e-07/4.756, allocations: 2.312 kB / 2.543 GB, free: 230.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001223/4.758, allocations: 361.2 kB / 2.544 GB, free: 230.5 MB / 0.7136 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.004085/4.762, allocations: 2.432 MB / 2.546 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001523/4.763, allocations: 0.7393 MB / 2.547 GB, free: 229.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/4.763, allocations: 0 / 2.547 GB, free: 229.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008498/4.764, allocations: 0.4977 MB / 2.547 GB, free: 229.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/4.765, allocations: 260.7 kB / 2.548 GB, free: 229.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/4.776, allocations: 5.532 MB / 2.553 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007842/4.777, allocations: 1.025 MB / 2.554 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001127/4.778, allocations: 265.3 kB / 2.554 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005641/4.778, allocations: 356.4 kB / 2.555 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.442e-06/4.778, allocations: 0 / 2.555 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06642/4.845, allocations: 29.74 MB / 2.584 GB, free: 224.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/4.845, allocations: 282.8 kB / 2.584 GB, free: 224.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.136/7.981, allocations: 3.938 kB / 2.584 GB, free: 224.3 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)