Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",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.663/1.663, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001263/0.001263, allocations: 184.9 kB / 377.1 MB, free: 1.535 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.369/1.369, allocations: 205.4 MB / 0.6366 GB, free: 8.59 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.0008447/0.0008446, allocations: 91.72 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2351, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6281/0.8632, allocations: 147.2 MB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.8634, allocations: 79.02 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06778/0.9312, allocations: 22.8 MB / 1.155 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.043e-06/0.9313, allocations: 0 / 1.155 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.195e-05/0.9313, allocations: 20 kB / 1.155 GB, free: 12.54 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002757/0.9341, allocations: 1.142 MB / 1.156 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.9341, allocations: 16.02 kB / 1.156 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002259/0.9344, allocations: 122.5 kB / 1.156 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.9345, allocations: 102.2 kB / 1.156 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008469/0.9354, allocations: 0.5374 MB / 1.156 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.9356, allocations: 77.98 kB / 1.157 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.9357, allocations: 72 kB / 1.157 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.937, allocations: 0.7988 MB / 1.157 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.9371, allocations: 0 / 1.157 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.586e-05/0.9372, allocations: 32 kB / 1.157 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.9372, allocations: 21.03 kB / 1.157 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.9385, allocations: 0.6481 MB / 1.158 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/0.9418, allocations: 2.515 MB / 1.161 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003762/0.9456, allocations: 1.103 MB / 1.162 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.597e-05/0.9457, allocations: 24.27 kB / 1.162 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.9457, allocations: 42.56 kB / 1.162 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=80): time 2.575e-06/0.9457, allocations: 0 / 1.162 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=80): time 0.001983/0.9477, allocations: 1.002 MB / 1.163 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.9478, allocations: 136.5 kB / 1.163 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006048/0.9484, allocations: 0.5699 MB / 1.163 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.9484, allocations: 41.7 kB / 1.163 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.9486, allocations: 344.7 kB / 1.164 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.9487, allocations: 260.8 kB / 1.164 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.9488, allocations: 16 kB / 1.164 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.9489, allocations: 386.8 kB / 1.164 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.9494, allocations: 241.2 kB / 1.165 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.9499, allocations: 345.2 kB / 1.165 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/0.9505, allocations: 278 kB / 1.165 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9505, allocations: 0 / 1.165 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001313/0.9518, allocations: 0.7406 MB / 1.166 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.9519, allocations: 5.031 kB / 1.166 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.9519, allocations: 48 / 1.166 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.9519, allocations: 7.984 kB / 1.166 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/0.9527, allocations: 155.8 kB / 1.166 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.9527, allocations: 8 kB / 1.166 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005697/0.9533, allocations: 75.34 kB / 1.166 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.9534, allocations: 27.97 kB / 1.166 GB, free: 408 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003106/0.9537, allocations: 233.7 kB / 1.166 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.9538, allocations: 82.97 kB / 1.166 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.9563, allocations: 1.167 MB / 1.168 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.9563, allocations: 12 kB / 1.168 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.9564, allocations: 0 / 1.168 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.9564, allocations: 15.97 kB / 1.168 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.9577, allocations: 1.016 MB / 1.169 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.9577, allocations: 5.812 kB / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009253/0.9587, allocations: 208.5 kB / 1.169 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.9587, allocations: 4 kB / 1.169 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.9588, allocations: 27.97 kB / 1.169 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.9588, allocations: 4 kB / 1.169 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9588, allocations: 5.094 kB / 1.169 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.9607, allocations: 1.281 MB / 1.17 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.9611, allocations: 319.5 kB / 1.17 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.9613, allocations: 20 kB / 1.17 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006335/0.9619, allocations: 35.91 kB / 1.17 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.962, allocations: 85.25 kB / 1.171 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.9621, allocations: 39.98 kB / 1.171 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006237/0.9627, allocations: 0.4951 MB / 1.171 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9627, allocations: 0 / 1.171 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009879/0.9637, allocations: 275.3 kB / 1.171 GB, free: 10.98 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002872/0.9666, allocations: 2.264 MB / 1.174 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.9682, allocations: 0.702 MB / 1.174 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9682, allocations: 4 kB / 1.174 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008321/0.969, allocations: 463.9 kB / 1.175 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.9695, allocations: 66.95 kB / 1.175 GB, free: 7.527 MB / 0.7448 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008365/0.9779, allocations: 5.3 MB / 1.18 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/0.9785, allocations: 1.029 MB / 1.181 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005752/0.9791, allocations: 151.6 kB / 1.181 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/0.9796, allocations: 391.2 kB / 1.181 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/0.9796, allocations: 0 / 1.181 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4203/1.4, allocations: 16.57 MB / 1.198 GB, free: 152 kB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.4, allocations: 221.1 kB / 1.198 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/3.991, allocations: 0 / 1.198 GB, free: 15.91 MB / 0.7761 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)