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.892/1.892, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001525/0.001525, allocations: 172.9 kB / 366.7 MB, free: 1.672 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.929/1.929, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.00093/0.0009302, allocations: 86.91 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.201e-05/2.204e-05, allocations: 0 / 0.8598 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8133/0.8133, allocations: 116.3 MB / 0.9733 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/1.054, allocations: 146.5 MB / 1.116 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003961/1.054, allocations: 85.22 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06857/1.123, allocations: 22.38 MB / 1.138 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.734e-06/1.123, allocations: 0 / 1.138 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.28e-05/1.123, allocations: 20 kB / 1.138 GB, free: 13.22 MB / 0.7448 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.002023/1.125, allocations: 0.9896 MB / 1.139 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/1.125, allocations: 8.031 kB / 1.139 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/1.125, allocations: 107 kB / 1.139 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/1.127, allocations: 0.6738 MB / 1.14 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/1.127, allocations: 45.98 kB / 1.14 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/1.127, allocations: 44 kB / 1.14 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00115/1.128, allocations: 0.5624 MB / 1.141 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/1.129, allocations: 0.6506 MB / 1.141 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/1.129, allocations: 3.938 kB / 1.141 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/1.129, allocations: 0 / 1.141 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/1.129, allocations: 20 kB / 1.141 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003989/1.133, allocations: 2.363 MB / 1.144 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00347/1.137, allocations: 0.9954 MB / 1.145 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/1.137, allocations: 312.8 kB / 1.145 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.683e-05/1.137, allocations: 27.91 kB / 1.145 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/1.138, allocations: 42.56 kB / 1.145 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=80): time 4.168e-06/1.138, allocations: 2.438 kB / 1.145 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=80): time 0.001619/1.139, allocations: 0.669 MB / 1.146 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.576e-05/1.139, allocations: 140.5 kB / 1.146 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007183/1.14, allocations: 474.3 kB / 1.146 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/1.14, allocations: 25.7 kB / 1.146 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/1.14, allocations: 352.6 kB / 1.147 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/1.141, allocations: 252.1 kB / 1.147 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/1.141, allocations: 4 kB / 1.147 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002016/1.141, allocations: 378.7 kB / 1.147 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/1.141, allocations: 205.5 kB / 1.147 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/1.142, allocations: 289.1 kB / 1.148 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/1.142, allocations: 288 kB / 1.148 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.142, allocations: 0 / 1.148 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001282/1.144, allocations: 0.6567 MB / 1.149 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.144, allocations: 5.406 kB / 1.149 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.144, allocations: 4 kB / 1.149 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.144, allocations: 4 kB / 1.149 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008172/1.144, allocations: 159.8 kB / 1.149 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/1.144, allocations: 4 kB / 1.149 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/1.145, allocations: 51.45 kB / 1.149 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/1.145, allocations: 34.97 kB / 1.149 GB, free: 2.148 MB / 0.7448 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 () * 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.0001579/1.145, allocations: 112.9 kB / 1.149 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001309/1.147, allocations: 0.6608 MB / 1.15 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/1.147, allocations: 75.06 kB / 1.15 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/1.149, allocations: 1.067 MB / 1.151 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.381e-05/1.149, allocations: 12 kB / 1.151 GB, free: 216 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/1.149, allocations: 7.984 kB / 1.151 GB, free: 208 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/1.149, allocations: 3.984 kB / 1.151 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/1.151, allocations: 0.8835 MB / 1.152 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.151, allocations: 0 / 1.152 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009284/1.151, allocations: 211.7 kB / 1.152 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/1.152, allocations: 8 kB / 1.152 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.902e-05/1.152, allocations: 15.98 kB / 1.152 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/1.152, allocations: 10.73 kB / 1.152 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.152, allocations: 3.781 kB / 1.152 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/1.153, allocations: 1.195 MB / 1.153 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/1.154, allocations: 299.6 kB / 1.153 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/1.154, allocations: 4 kB / 1.153 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006049/1.155, allocations: 19.97 kB / 1.153 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/1.155, allocations: 71.89 kB / 1.153 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/1.155, allocations: 35.98 kB / 1.153 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005513/1.155, allocations: 419.2 kB / 1.154 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.51e-07/1.155, allocations: 0 / 1.154 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001057/1.156, allocations: 251.2 kB / 1.154 GB, free: 12.7 MB / 0.7605 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 () * 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.002756/1.159, allocations: 2.166 MB / 1.156 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001142/1.16, allocations: 0.6117 MB / 1.157 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.16, allocations: 0 / 1.157 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005326/1.161, allocations: 411.6 kB / 1.157 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/1.161, allocations: 43.3 kB / 1.157 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/1.164, allocations: 1.301 MB / 1.158 GB, free: 8.156 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/1.165, allocations: 1.036 MB / 1.16 GB, free: 7.09 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00059/1.166, allocations: 145.1 kB / 1.16 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005786/1.166, allocations: 383.2 kB / 1.16 GB, free: 6.582 MB / 0.7605 GB Notification: Performance of SimCode: time 1.523e-06/1.166, allocations: 0 / 1.16 GB, free: 6.582 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4983/1.664, allocations: 15.3 MB / 1.175 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/1.665, allocations: 179.1 kB / 1.175 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/4.371, allocations: 0 / 1.175 GB, free: 7.262 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)