Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 289.9 MB / 297.4 MB, free: 6.418 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 180.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.3 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 91 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.057e-05/2.057e-05, allocations: 3.984 kB / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7657, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.177/4.943, allocations: 2.072 GB / 3.045 GB, free: 12.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/4.943, allocations: 83.7 kB / 3.045 GB, free: 12.36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5452/5.488, allocations: 56.14 MB / 3.1 GB, free: 330.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.663e-06/5.488, allocations: 0 / 3.1 GB, free: 330.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.053e-05/5.488, allocations: 24.44 kB / 3.1 GB, free: 330.9 MB / 0.948 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.001712/5.49, allocations: 1.064 MB / 3.101 GB, free: 330.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/5.49, allocations: 8.812 kB / 3.101 GB, free: 330.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/5.491, allocations: 244.1 kB / 3.101 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009386/5.492, allocations: 0.6145 MB / 3.102 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/5.492, allocations: 27.06 kB / 3.102 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/5.493, allocations: 45.09 kB / 3.102 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001424/5.494, allocations: 0.9905 MB / 3.103 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/5.495, allocations: 0.7462 MB / 3.104 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/5.495, allocations: 5.688 kB / 3.104 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-05/5.495, allocations: 1.281 kB / 3.104 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/5.495, allocations: 23.27 kB / 3.104 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/5.499, allocations: 2.527 MB / 3.106 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/5.5, allocations: 0.754 MB / 3.107 GB, free: 327.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/5.5, allocations: 241.9 kB / 3.107 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.57e-05/5.5, allocations: 34.48 kB / 3.107 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005757/5.501, allocations: 396.8 kB / 3.108 GB, free: 326.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 1.993e-06/5.501, allocations: 0 / 3.108 GB, free: 326.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.00152/5.502, allocations: 0.6564 MB / 3.108 GB, free: 326.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/5.502, allocations: 243.9 kB / 3.108 GB, free: 326.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000647/5.503, allocations: 0.4924 MB / 3.109 GB, free: 326.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.189e-05/5.503, allocations: 30.14 kB / 3.109 GB, free: 326.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/5.503, allocations: 386.8 kB / 3.109 GB, free: 325.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/5.503, allocations: 237 kB / 3.11 GB, free: 325.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/5.503, allocations: 0 / 3.11 GB, free: 325.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000104/5.504, allocations: 375.7 kB / 3.11 GB, free: 325.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/5.504, allocations: 184.3 kB / 3.11 GB, free: 325.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/5.504, allocations: 313 kB / 3.11 GB, free: 325 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/5.505, allocations: 240 kB / 3.111 GB, free: 324.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/5.505, allocations: 0 / 3.111 GB, free: 324.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00134/5.506, allocations: 0.6675 MB / 3.111 GB, free: 324.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/5.506, allocations: 5.438 kB / 3.111 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/5.506, allocations: 0.9375 kB / 3.111 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/5.507, allocations: 87.61 kB / 3.111 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/5.507, allocations: 144.2 kB / 3.112 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/5.509, allocations: 1.457 MB / 3.113 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/5.509, allocations: 62.36 kB / 3.113 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/5.509, allocations: 35.08 kB / 3.113 GB, free: 323.2 MB / 0.948 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.0001452/5.509, allocations: 122.1 kB / 3.113 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001353/5.511, allocations: 0.6543 MB / 3.114 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/5.511, allocations: 74.44 kB / 3.114 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/5.513, allocations: 0.9037 MB / 3.115 GB, free: 322.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/5.513, allocations: 12.72 kB / 3.115 GB, free: 322.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/5.513, allocations: 0 / 3.115 GB, free: 322.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/5.513, allocations: 4.906 kB / 3.115 GB, free: 322.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/5.516, allocations: 1.746 MB / 3.116 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/5.516, allocations: 0 / 3.116 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/5.516, allocations: 146 kB / 3.117 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000487/5.517, allocations: 87.16 kB / 3.117 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/5.517, allocations: 13.33 kB / 3.117 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/5.518, allocations: 1.488 MB / 3.118 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/5.518, allocations: 0 / 3.118 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/5.52, allocations: 0.8269 MB / 3.119 GB, free: 319.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/5.52, allocations: 271.3 kB / 3.119 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/5.52, allocations: 5.156 kB / 3.119 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/5.521, allocations: 54.97 kB / 3.119 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/5.521, allocations: 60.84 kB / 3.119 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/5.521, allocations: 34.8 kB / 3.119 GB, free: 319.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004342/5.521, allocations: 403.8 kB / 3.12 GB, free: 319.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/5.521, allocations: 0 / 3.12 GB, free: 319.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00096/5.522, allocations: 306 kB / 3.12 GB, free: 319.3 MB / 0.948 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.003219/5.525, allocations: 2.306 MB / 3.122 GB, free: 318.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001116/5.526, allocations: 0.6511 MB / 3.123 GB, free: 317.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/5.527, allocations: 1.5 kB / 3.123 GB, free: 317.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000713/5.527, allocations: 451.6 kB / 3.123 GB, free: 317.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/5.528, allocations: 229.9 kB / 3.124 GB, free: 317.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/5.532, allocations: 1.461 MB / 3.125 GB, free: 317 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/5.533, allocations: 1.02 MB / 3.126 GB, free: 316.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008122/5.533, allocations: 257.6 kB / 3.126 GB, free: 316.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/5.534, allocations: 351.3 kB / 3.127 GB, free: 315.9 MB / 0.948 GB Notification: Performance of SimCode: time 8.32e-07/5.534, allocations: 0 / 3.127 GB, free: 315.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04856/5.582, allocations: 23.18 MB / 3.149 GB, free: 298.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/5.583, allocations: 189.9 kB / 3.149 GB, free: 298.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/8.391, allocations: 4 kB / 3.149 GB, free: 298.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)