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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008831/0.0008831, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000907/0.000907, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.38/1.38, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7515/0.7515, allocations: 113.7 MB / 405.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1838, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004824/0.1887, allocations: 3.702 MB / 0.5603 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4479/0.6366, allocations: 127.6 MB / 0.6849 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006089/0.6373, allocations: 11.94 kB / 0.6849 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.6377, allocations: 87.2 kB / 0.685 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.639, allocations: 0.4952 MB / 0.6855 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.6406, allocations: 0.6325 MB / 0.6861 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.6417, allocations: 0.8371 MB / 0.6869 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006613/0.6424, allocations: 494.8 kB / 0.6874 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004887/0.6429, allocations: 350.5 kB / 0.6877 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.6433, allocations: 346.2 kB / 0.688 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.275e-05/0.6434, allocations: 32 kB / 0.6881 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006892/0.6441, allocations: 307.6 kB / 0.6884 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.6443, allocations: 183.2 kB / 0.6885 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.6444, allocations: 197.1 kB / 0.6887 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.6456, allocations: 1.166 MB / 0.6899 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6456, allocations: 0 / 0.6899 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6456, allocations: 0 / 0.6899 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.6456, allocations: 0 / 0.6899 GB, free: 1.703 MB / 0.4981 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.002277/0.6479, allocations: 1.249 MB / 0.6911 GB, free: 412 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.648, allocations: 12.03 kB / 0.6911 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.6482, allocations: 139.5 kB / 0.6912 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.6493, allocations: 250.4 kB / 0.6915 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.6505, allocations: 0.7341 MB / 0.6922 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.6506, allocations: 65.95 kB / 0.6923 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.6507, allocations: 84 kB / 0.6923 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.6525, allocations: 0.9755 MB / 0.6933 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.6525, allocations: 0 / 0.6933 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.672e-05/0.6526, allocations: 40 kB / 0.6933 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.6526, allocations: 20 kB / 0.6933 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.6546, allocations: 1.186 MB / 0.6945 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/0.6594, allocations: 2.846 MB / 0.6973 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.6612, allocations: 0.9655 MB / 0.6982 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-05/0.6613, allocations: 28.62 kB / 0.6983 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008997/0.6622, allocations: 0.4963 MB / 0.6987 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=83): time 2.324e-06/0.6622, allocations: 4 kB / 0.6987 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83): time 0.003355/0.6655, allocations: 1.233 MB / 0.6999 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/0.6657, allocations: 188.9 kB / 0.7001 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008527/0.6666, allocations: 0.6371 MB / 0.7007 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.24e-05/0.6667, allocations: 41.7 kB / 0.7008 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.667, allocations: 408.3 kB / 0.7012 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.6673, allocations: 276 kB / 0.7014 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.6674, allocations: 12 kB / 0.7015 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.6676, allocations: 390.8 kB / 0.7018 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.6681, allocations: 253.8 kB / 0.7021 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.6688, allocations: 385.1 kB / 0.7024 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/0.6694, allocations: 298.9 kB / 0.7027 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6694, allocations: 7.938 kB / 0.7027 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001851/0.6713, allocations: 0.8292 MB / 0.7035 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.6713, allocations: 8.188 kB / 0.7035 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6713, allocations: 4 kB / 0.7035 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.672, allocations: 88.77 kB / 0.7036 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.6726, allocations: 159.7 kB / 0.7038 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.6747, allocations: 1.524 MB / 0.7053 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007187/0.6754, allocations: 107.3 kB / 0.7054 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/0.6755, allocations: 35.98 kB / 0.7054 GB, free: 1.227 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0005025/0.676, allocations: 274.2 kB / 0.7057 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.6762, allocations: 86.91 kB / 0.7058 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.6786, allocations: 1.089 MB / 0.7068 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.6787, allocations: 11.98 kB / 0.7068 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6787, allocations: 0 / 0.7068 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.6787, allocations: 7.938 kB / 0.7068 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/0.6823, allocations: 2.111 MB / 0.7089 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.6823, allocations: 0 / 0.7089 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.6829, allocations: 151.8 kB / 0.709 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005102/0.6834, allocations: 84.81 kB / 0.7091 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.6835, allocations: 39.91 kB / 0.7092 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.6854, allocations: 1.548 MB / 0.7107 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6854, allocations: 3.938 kB / 0.7107 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.6875, allocations: 1.012 MB / 0.7117 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005358/0.688, allocations: 287.6 kB / 0.7119 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.6882, allocations: 27.98 kB / 0.712 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007187/0.6889, allocations: 82.94 kB / 0.712 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.6891, allocations: 76.83 kB / 0.7121 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.6892, allocations: 39.92 kB / 0.7122 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006708/0.6898, allocations: 455 kB / 0.7126 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6898, allocations: 0 / 0.7126 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009421/0.6908, allocations: 311.3 kB / 0.7129 GB, free: 9.297 MB / 0.5294 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 (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.003486/0.6943, allocations: 2.065 MB / 0.7149 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.696, allocations: 0.816 MB / 0.7157 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.696, allocations: 0 / 0.7157 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009452/0.6969, allocations: 0.5314 MB / 0.7162 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.6981, allocations: 256.4 kB / 0.7165 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.7096, allocations: 6.041 MB / 0.7224 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/0.7105, allocations: 1.051 MB / 0.7234 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00105/0.7116, allocations: 266.9 kB / 0.7236 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007202/0.7123, allocations: 395.3 kB / 0.724 GB, free: 13.89 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.7123, allocations: 0 / 0.724 GB, free: 13.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06654/0.7789, allocations: 21.75 MB / 0.7453 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/0.7793, allocations: 261 kB / 0.7455 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/3.57, allocations: 0 / 0.7455 GB, free: 8.164 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) Environment - environmentSimulation: