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.00123/0.00123, allocations: 101.7 kB / 16.4 MB, free: 6.5 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.001279/0.00128, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.207/1.207, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.667/0.667, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 63.72 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1293, allocations: 76.19 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006098/0.1354, allocations: 4.898 MB / 0.6363 GB, free: 0 / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4363/0.5717, allocations: 150.6 MB / 0.7835 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006781/0.5725, allocations: 16.56 kB / 0.7835 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.573, allocations: 194.2 kB / 0.7837 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.5744, allocations: 0.5541 MB / 0.7842 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.5762, allocations: 0.8566 MB / 0.785 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.5775, allocations: 1.423 MB / 0.7864 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007717/0.5783, allocations: 0.5988 MB / 0.787 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006458/0.5789, allocations: 0.4981 MB / 0.7875 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006245/0.5796, allocations: 0.5164 MB / 0.788 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.5797, allocations: 118.2 kB / 0.7881 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007753/0.5805, allocations: 488.2 kB / 0.7886 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.5808, allocations: 300.6 kB / 0.7889 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.5812, allocations: 0.5721 MB / 0.7894 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.5828, allocations: 1.666 MB / 0.7911 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5828, allocations: 0 / 0.7911 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5828, allocations: 0 / 0.7911 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.5828, allocations: 0 / 0.7911 GB, free: 12.91 MB / 0.5919 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.002345/0.5852, allocations: 1.466 MB / 0.7925 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5852, allocations: 10.03 kB / 0.7925 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.5854, allocations: 138.3 kB / 0.7926 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.5865, allocations: 226.2 kB / 0.7928 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5875, allocations: 0.7922 MB / 0.7936 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.5876, allocations: 63.56 kB / 0.7937 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.413e-05/0.5877, allocations: 85.06 kB / 0.7938 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.5891, allocations: 0.9801 MB / 0.7947 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.5892, allocations: 0 / 0.7947 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/0.5892, allocations: 37.8 kB / 0.7948 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.5893, allocations: 21.78 kB / 0.7948 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.591, allocations: 1.171 MB / 0.7959 GB, free: 11.45 MB / 0.5919 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.003527/0.5946, allocations: 3.016 MB / 0.7989 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.5961, allocations: 0.9425 MB / 0.7998 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/0.5965, allocations: 314.2 kB / 0.8001 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.751e-05/0.5966, allocations: 29.33 kB / 0.8001 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007167/0.5973, allocations: 0.5037 MB / 0.8006 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 4.899e-06/0.5973, allocations: 0 / 0.8006 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.002714/0.6, allocations: 1.227 MB / 0.8018 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.6001, allocations: 191 kB / 0.802 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/0.6007, allocations: 0.6323 MB / 0.8026 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.6008, allocations: 44.05 kB / 0.8026 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.6011, allocations: 412.8 kB / 0.803 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.6012, allocations: 270.3 kB / 0.8033 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.6015, allocations: 159.9 kB / 0.8034 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6016, allocations: 397.2 kB / 0.8038 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.602, allocations: 252.7 kB / 0.8041 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.6026, allocations: 386 kB / 0.8044 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.6036, allocations: 0.6153 MB / 0.805 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6036, allocations: 7 kB / 0.805 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001698/0.6053, allocations: 0.8321 MB / 0.8059 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.6054, allocations: 8.844 kB / 0.8059 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6054, allocations: 3.984 kB / 0.8059 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.6059, allocations: 84.75 kB / 0.8059 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.6065, allocations: 165.1 kB / 0.8061 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.6084, allocations: 1.633 MB / 0.8077 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/0.609, allocations: 94.73 kB / 0.8078 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.6091, allocations: 37.62 kB / 0.8078 GB, free: 5.797 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: 15 (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 (92): * Single equations (assignments): 91 * 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.000314/0.6094, allocations: 264.1 kB / 0.8081 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.6095, allocations: 83.5 kB / 0.8082 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.6116, allocations: 1.091 MB / 0.8092 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.6116, allocations: 10.38 kB / 0.8092 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.6116, allocations: 4 kB / 0.8092 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.6117, allocations: 3.984 kB / 0.8092 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.6148, allocations: 2.095 MB / 0.8113 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6148, allocations: 0 / 0.8113 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.6153, allocations: 151.5 kB / 0.8114 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003905/0.6157, allocations: 74.69 kB / 0.8115 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/0.6158, allocations: 23.48 kB / 0.8115 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.6175, allocations: 1.663 MB / 0.8131 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6175, allocations: 0 / 0.8131 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.6193, allocations: 1.021 MB / 0.8141 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.6196, allocations: 271.4 kB / 0.8144 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.6198, allocations: 19.28 kB / 0.8144 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006194/0.6204, allocations: 62.41 kB / 0.8145 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.6205, allocations: 78.36 kB / 0.8146 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-05/0.6206, allocations: 40.36 kB / 0.8146 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004768/0.6211, allocations: 461.4 kB / 0.815 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6211, allocations: 0 / 0.815 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007965/0.6219, allocations: 333 kB / 0.8154 GB, free: 0.9805 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.003248/0.6251, allocations: 2.065 MB / 0.8174 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.6266, allocations: 0.8196 MB / 0.8182 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6266, allocations: 4 kB / 0.8182 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008462/0.6275, allocations: 0.5269 MB / 0.8187 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.6286, allocations: 315.9 kB / 0.819 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009306/0.638, allocations: 6.334 MB / 0.8252 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.6385, allocations: 1.03 MB / 0.8262 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007144/0.6393, allocations: 270 kB / 0.8264 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/0.6398, allocations: 392.7 kB / 0.8268 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.6398, allocations: 7.938 kB / 0.8268 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05114/0.6909, allocations: 22.72 MB / 0.849 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.95, allocations: 15.11 kB / 0.849 GB, free: 4.051 MB / 0.6231 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/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)