Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.645/1.645, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 180.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009429/0.0009426, allocations: 88.41 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.911e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.222, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.758/5.98, allocations: 2.19 GB / 3.075 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/5.98, allocations: 84.7 kB / 3.075 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1184/6.098, allocations: 55.76 MB / 3.13 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.294e-06/6.098, allocations: 0 / 3.13 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001013/6.099, allocations: 27.94 kB / 3.13 GB, free: 160.4 MB / 0.8698 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.002357/6.101, allocations: 1.055 MB / 3.131 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/6.101, allocations: 12.03 kB / 3.131 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/6.102, allocations: 246.4 kB / 3.131 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/6.104, allocations: 0.6114 MB / 3.132 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/6.104, allocations: 28 kB / 3.132 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/6.104, allocations: 51.98 kB / 3.132 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001414/6.105, allocations: 0.9874 MB / 3.133 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/6.107, allocations: 0.7453 MB / 3.133 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/6.107, allocations: 3.938 kB / 3.133 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/6.107, allocations: 7.953 kB / 3.133 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/6.107, allocations: 20 kB / 3.133 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003904/6.111, allocations: 2.537 MB / 3.136 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/6.112, allocations: 0.76 MB / 3.137 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/6.112, allocations: 252.2 kB / 3.137 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.224e-05/6.112, allocations: 20.83 kB / 3.137 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005159/6.113, allocations: 399.7 kB / 3.137 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 2.905e-06/6.113, allocations: 0 / 3.137 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.0015/6.114, allocations: 0.6486 MB / 3.138 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/6.114, allocations: 244.1 kB / 3.138 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/6.115, allocations: 0.4943 MB / 3.139 GB, free: 151 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/6.115, allocations: 29.7 kB / 3.139 GB, free: 151 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/6.115, allocations: 388.1 kB / 3.139 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/6.115, allocations: 228.5 kB / 3.139 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/6.115, allocations: 0 / 3.139 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.33e-05/6.115, allocations: 374.8 kB / 3.14 GB, free: 150 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/6.116, allocations: 193.5 kB / 3.14 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/6.116, allocations: 306.1 kB / 3.14 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/6.116, allocations: 244.4 kB / 3.14 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/6.116, allocations: 0 / 3.14 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001209/6.117, allocations: 0.6641 MB / 3.141 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/6.117, allocations: 11.94 kB / 3.141 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/6.117, allocations: 3.938 kB / 3.141 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005662/6.118, allocations: 84.92 kB / 3.141 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/6.119, allocations: 139.8 kB / 3.141 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/6.12, allocations: 1.457 MB / 3.143 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/6.121, allocations: 63.44 kB / 3.143 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/6.121, allocations: 31.98 kB / 3.143 GB, free: 146.6 MB / 0.8698 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.0001548/6.121, allocations: 131.4 kB / 3.143 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001189/6.122, allocations: 0.6407 MB / 3.143 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/6.122, allocations: 79.14 kB / 3.144 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/6.124, allocations: 0.8916 MB / 3.144 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/6.124, allocations: 11.94 kB / 3.144 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/6.124, allocations: 4 kB / 3.144 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/6.124, allocations: 7.984 kB / 3.144 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/6.126, allocations: 1.753 MB / 3.146 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/6.127, allocations: 4 kB / 3.146 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/6.127, allocations: 143.8 kB / 3.146 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/6.127, allocations: 80.78 kB / 3.146 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/6.128, allocations: 15.98 kB / 3.146 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/6.129, allocations: 1.473 MB / 3.148 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/6.129, allocations: 4.094 kB / 3.148 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/6.13, allocations: 0.822 MB / 3.149 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/6.131, allocations: 279.8 kB / 3.149 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.637e-05/6.131, allocations: 3.984 kB / 3.149 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/6.131, allocations: 55.91 kB / 3.149 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/6.131, allocations: 64.69 kB / 3.149 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/6.131, allocations: 27.98 kB / 3.149 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004446/6.132, allocations: 398.9 kB / 3.149 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.132, allocations: 0 / 3.149 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001083/6.133, allocations: 307 kB / 3.15 GB, free: 139.2 MB / 0.8698 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.003221/6.136, allocations: 2.311 MB / 3.152 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001129/6.137, allocations: 0.6514 MB / 3.153 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/6.137, allocations: 4 kB / 3.153 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005769/6.138, allocations: 448.5 kB / 3.153 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/6.139, allocations: 231 kB / 3.153 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/6.143, allocations: 1.459 MB / 3.155 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/6.143, allocations: 1.023 MB / 3.156 GB, free: 133 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008348/6.144, allocations: 253.9 kB / 3.156 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/6.144, allocations: 355.3 kB / 3.156 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of SimCode: time 7.41e-07/6.144, allocations: 0 / 3.156 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04924/6.194, allocations: 23.17 MB / 3.179 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/6.194, allocations: 206.1 kB / 3.179 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/9.109, allocations: 0 / 3.179 GB, free: 109.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)