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.8153/0.8153, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001261/0.001261, allocations: 172.9 kB / 182.2 MB, free: 9.477 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.734/1.734, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009409/0.0009407, allocations: 84.05 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001687/0.001687, allocations: 281.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.618e-05, allocations: 3.984 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5095, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.165/4.675, allocations: 1.69 GB / 2.448 GB, free: 95.81 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/4.675, allocations: 83.95 kB / 2.448 GB, free: 95.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1176/4.792, allocations: 57.41 MB / 2.504 GB, free: 38.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.283e-06/4.792, allocations: 0 / 2.504 GB, free: 38.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.866e-05/4.792, allocations: 24 kB / 2.504 GB, free: 38.05 MB / 0.698 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.001467/4.794, allocations: 1.086 MB / 2.505 GB, free: 36.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/4.794, allocations: 12.03 kB / 2.505 GB, free: 36.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/4.795, allocations: 238.5 kB / 2.505 GB, free: 36.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008262/4.796, allocations: 0.6153 MB / 2.506 GB, free: 36.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/4.796, allocations: 28 kB / 2.506 GB, free: 35.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/4.796, allocations: 47.94 kB / 2.506 GB, free: 35.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001144/4.797, allocations: 0.9992 MB / 2.507 GB, free: 34.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/4.798, allocations: 0.7534 MB / 2.507 GB, free: 34.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/4.798, allocations: 0 / 2.507 GB, free: 34.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.295e-05/4.798, allocations: 7.938 kB / 2.507 GB, free: 34.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/4.798, allocations: 20 kB / 2.508 GB, free: 34.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/4.801, allocations: 2.549 MB / 2.51 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009114/4.802, allocations: 0.7639 MB / 2.511 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/4.803, allocations: 239.2 kB / 2.511 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.897e-05/4.803, allocations: 41.77 kB / 2.511 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004912/4.803, allocations: 391.7 kB / 2.511 GB, free: 30.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 2.244e-06/4.803, allocations: 0 / 2.511 GB, free: 30.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.001386/4.805, allocations: 0.6601 MB / 2.512 GB, free: 29.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/4.805, allocations: 240.1 kB / 2.512 GB, free: 29.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/4.805, allocations: 0.4945 MB / 2.513 GB, free: 28.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/4.805, allocations: 25.7 kB / 2.513 GB, free: 28.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/4.805, allocations: 392 kB / 2.513 GB, free: 28.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/4.806, allocations: 236.4 kB / 2.513 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/4.806, allocations: 0 / 2.513 GB, free: 27.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/4.806, allocations: 374.8 kB / 2.514 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/4.806, allocations: 193.5 kB / 2.514 GB, free: 27.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/4.806, allocations: 313.4 kB / 2.514 GB, free: 27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/4.807, allocations: 248.3 kB / 2.514 GB, free: 26.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/4.807, allocations: 0 / 2.514 GB, free: 26.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001262/4.808, allocations: 0.6602 MB / 2.515 GB, free: 26.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/4.808, allocations: 4 kB / 2.515 GB, free: 26.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/4.808, allocations: 0 / 2.515 GB, free: 26.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00059/4.808, allocations: 88.92 kB / 2.515 GB, free: 25.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/4.809, allocations: 139.8 kB / 2.515 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/4.811, allocations: 1.465 MB / 2.517 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006411/4.811, allocations: 59.5 kB / 2.517 GB, free: 24.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/4.811, allocations: 28.05 kB / 2.517 GB, free: 24.18 MB / 0.698 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.0001972/4.812, allocations: 120.8 kB / 2.517 GB, free: 24.05 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001696/4.813, allocations: 0.6523 MB / 2.518 GB, free: 23.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/4.813, allocations: 79.14 kB / 2.518 GB, free: 23.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/4.816, allocations: 0.8995 MB / 2.519 GB, free: 22.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/4.816, allocations: 8 kB / 2.519 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/4.816, allocations: 0 / 2.519 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/4.816, allocations: 7.984 kB / 2.519 GB, free: 22.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/4.819, allocations: 1.757 MB / 2.52 GB, free: 20.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/4.819, allocations: 0 / 2.52 GB, free: 20.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006808/4.819, allocations: 143.8 kB / 2.52 GB, free: 20.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005746/4.82, allocations: 84.77 kB / 2.52 GB, free: 20.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/4.82, allocations: 15.98 kB / 2.52 GB, free: 20.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/4.822, allocations: 1.477 MB / 2.522 GB, free: 18.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/4.822, allocations: 4.062 kB / 2.522 GB, free: 18.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/4.823, allocations: 0.8338 MB / 2.523 GB, free: 17.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/4.824, allocations: 271.8 kB / 2.523 GB, free: 17.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/4.824, allocations: 4 kB / 2.523 GB, free: 17.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005448/4.825, allocations: 55.94 kB / 2.523 GB, free: 17.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/4.825, allocations: 60.66 kB / 2.523 GB, free: 17.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/4.825, allocations: 39.91 kB / 2.523 GB, free: 17.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004305/4.825, allocations: 398.9 kB / 2.524 GB, free: 17.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/4.825, allocations: 3.938 kB / 2.524 GB, free: 17.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001054/4.826, allocations: 335 kB / 2.524 GB, free: 16.71 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) * 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.003101/4.829, allocations: 2.34 MB / 2.526 GB, free: 14.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001093/4.83, allocations: 0.6434 MB / 2.527 GB, free: 13.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/4.83, allocations: 0 / 2.527 GB, free: 13.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005786/4.831, allocations: 456.8 kB / 2.527 GB, free: 13.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/4.832, allocations: 237.3 kB / 2.527 GB, free: 13.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/4.836, allocations: 1.482 MB / 2.529 GB, free: 11.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/4.836, allocations: 1.023 MB / 2.53 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007839/4.837, allocations: 261.9 kB / 2.53 GB, free: 10.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/4.837, allocations: 355.3 kB / 2.53 GB, free: 9.895 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/4.837, allocations: 0 / 2.53 GB, free: 9.895 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4044/5.242, allocations: 23.57 MB / 2.554 GB, free: 232.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/5.242, allocations: 196.6 kB / 2.554 GB, free: 232.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/8.134, allocations: 3.25 kB / 2.554 GB, free: 232.2 MB / 0.698 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)