Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",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.483/1.483, allocations: 249.5 MB / 257 MB, free: 6.875 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.001166/0.001166, allocations: 187.4 kB / 316.3 MB, free: 3.234 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.947/1.947, 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.0009264/0.0009264, allocations: 78.48 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.092e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2883, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.914/1.202, allocations: 140.3 MB / 1.022 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/1.203, allocations: 81.39 kB / 1.022 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06841/1.271, allocations: 22.43 MB / 1.044 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.513e-06/1.271, allocations: 3.938 kB / 1.044 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.669e-05/1.271, allocations: 20 kB / 1.044 GB, free: 10.92 MB / 0.6667 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.003312/1.275, allocations: 1.065 MB / 1.045 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.275, allocations: 11.97 kB / 1.045 GB, free: 9.859 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004492/1.275, allocations: 115 kB / 1.046 GB, free: 9.746 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/1.277, allocations: 0.6661 MB / 1.046 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007744/1.277, allocations: 413.3 kB / 1.047 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/1.278, allocations: 40 kB / 1.047 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00146/1.279, allocations: 0.5903 MB / 1.047 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/1.281, allocations: 0.6825 MB / 1.048 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/1.281, allocations: 3.984 kB / 1.048 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.506e-05/1.281, allocations: 0 / 1.048 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/1.281, allocations: 20 kB / 1.048 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00635/1.287, allocations: 2.465 MB / 1.05 GB, free: 5.871 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003578/1.291, allocations: 1.021 MB / 1.051 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/1.292, allocations: 332.1 kB / 1.052 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.41e-05/1.292, allocations: 23.77 kB / 1.052 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/1.292, allocations: 45.69 kB / 1.052 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=80): time 3.887e-06/1.292, allocations: 0 / 1.052 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of matching and sorting (n=80): time 0.001417/1.293, allocations: 0.6617 MB / 1.052 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/1.293, allocations: 136.5 kB / 1.052 GB, free: 4.223 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007118/1.294, allocations: 470.9 kB / 1.053 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-05/1.294, allocations: 25.7 kB / 1.053 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/1.294, allocations: 352.6 kB / 1.053 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/1.294, allocations: 253.4 kB / 1.054 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/1.295, allocations: 3.938 kB / 1.054 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.295, allocations: 374.8 kB / 1.054 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/1.295, allocations: 217.6 kB / 1.054 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/1.295, allocations: 305.7 kB / 1.054 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/1.296, allocations: 250.2 kB / 1.055 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.296, allocations: 0 / 1.055 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001069/1.297, allocations: 0.648 MB / 1.055 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.297, allocations: 4 kB / 1.055 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.297, allocations: 0 / 1.055 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.297, allocations: 4 kB / 1.055 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.298, allocations: 198.4 kB / 1.055 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.298, allocations: 4 kB / 1.055 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008802/1.299, allocations: 83.45 kB / 1.056 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/1.299, allocations: 39.16 kB / 1.056 GB, free: 1.789 MB / 0.6667 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.00015/1.299, allocations: 108.9 kB / 1.056 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001114/1.3, allocations: 0.6616 MB / 1.056 GB, free: 1.203 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/1.301, allocations: 71.06 kB / 1.056 GB, free: 1.133 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/1.302, allocations: 1.044 MB / 1.057 GB, free: 372 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.303, allocations: 20 kB / 1.057 GB, free: 352 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/1.303, allocations: 0 / 1.057 GB, free: 352 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.303, allocations: 7.922 kB / 1.057 GB, free: 344 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/1.304, allocations: 0.9155 MB / 1.058 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.304, allocations: 8 kB / 1.058 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.305, allocations: 246.9 kB / 1.059 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.962e-05/1.305, allocations: 4 kB / 1.059 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/1.305, allocations: 22.97 kB / 1.059 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/1.305, allocations: 4 kB / 1.059 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.305, allocations: 4 kB / 1.059 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/1.307, allocations: 1.178 MB / 1.06 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/1.307, allocations: 312.6 kB / 1.06 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/1.307, allocations: 0 / 1.06 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009391/1.308, allocations: 51.94 kB / 1.06 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.308, allocations: 102.4 kB / 1.06 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/1.308, allocations: 42.59 kB / 1.06 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005111/1.309, allocations: 404 kB / 1.061 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/1.309, allocations: 0 / 1.061 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001037/1.31, allocations: 245.6 kB / 1.061 GB, free: 13.46 MB / 0.6823 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.002236/1.312, allocations: 2.111 MB / 1.063 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001015/1.313, allocations: 0.6464 MB / 1.064 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.313, allocations: 0 / 1.064 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005656/1.314, allocations: 452.4 kB / 1.064 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/1.314, allocations: 35.95 kB / 1.064 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/1.317, allocations: 1.316 MB / 1.065 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/1.318, allocations: 1.028 MB / 1.066 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006196/1.318, allocations: 141.9 kB / 1.066 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/1.319, allocations: 391 kB / 1.067 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/1.319, allocations: 0 / 1.067 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3082/1.627, allocations: 16.21 MB / 1.083 GB, free: 8.191 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.628, allocations: 198.1 kB / 1.083 GB, free: 7.988 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/4.098, allocations: 2.391 kB / 1.083 GB, free: 7.988 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)