Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.502/2.502, allocations: 287.3 MB / 302.3 MB, free: 8.387 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.001582/0.001581, allocations: 183.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001165, allocations: 97.84 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 11.38 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2133, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9091/1.122, allocations: 144.6 MB / 1.119 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/1.123, allocations: 86.73 kB / 1.12 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04603/1.169, allocations: 10.13 MB / 1.129 GB, free: 30.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.867e-06/1.169, allocations: 3.75 kB / 1.129 GB, free: 30.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.304e-05/1.169, allocations: 11.78 kB / 1.129 GB, free: 30.69 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002261/1.171, allocations: 0.7473 MB / 1.13 GB, free: 30.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/1.171, allocations: 15.58 kB / 1.13 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001981/1.172, allocations: 80.8 kB / 1.13 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/1.172, allocations: 69.72 kB / 1.13 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/1.173, allocations: 351.1 kB / 1.131 GB, free: 29.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/1.173, allocations: 33.03 kB / 1.131 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/1.173, allocations: 40.47 kB / 1.131 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/1.174, allocations: 397 kB / 1.131 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/1.174, allocations: 0 / 1.131 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/1.174, allocations: 16.62 kB / 1.131 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/1.174, allocations: 19.64 kB / 1.131 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/1.175, allocations: 339.5 kB / 1.131 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/1.179, allocations: 1.301 MB / 1.133 GB, free: 28.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/1.18, allocations: 400.9 kB / 1.133 GB, free: 28.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.93e-05/1.18, allocations: 3.781 kB / 1.133 GB, free: 28.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/1.18, allocations: 42.25 kB / 1.133 GB, free: 28.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 3.065e-06/1.18, allocations: 0 / 1.133 GB, free: 28.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.01249/1.192, allocations: 1.695 MB / 1.135 GB, free: 28.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/1.193, allocations: 55.38 kB / 1.135 GB, free: 28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/1.193, allocations: 316.1 kB / 1.135 GB, free: 27.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.482e-05/1.193, allocations: 40.36 kB / 1.135 GB, free: 27.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/1.193, allocations: 211.1 kB / 1.135 GB, free: 27.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/1.193, allocations: 141.6 kB / 1.136 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/1.194, allocations: 7.062 kB / 1.136 GB, free: 27.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.194, allocations: 348.6 kB / 1.136 GB, free: 27.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/1.194, allocations: 138.3 kB / 1.136 GB, free: 27.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/1.195, allocations: 210.4 kB / 1.136 GB, free: 27.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/1.195, allocations: 158.9 kB / 1.136 GB, free: 27.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.195, allocations: 0 / 1.136 GB, free: 27.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003176/1.198, allocations: 0.7092 MB / 1.137 GB, free: 26.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.922e-05/1.199, allocations: 100.1 kB / 1.137 GB, free: 26.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.199, allocations: 0 / 1.137 GB, free: 26.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/1.201, allocations: 422.2 kB / 1.138 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/1.202, allocations: 34.89 kB / 1.138 GB, free: 26.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/1.204, allocations: 1.054 MB / 1.139 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008678/1.205, allocations: 57.16 kB / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/1.205, allocations: 7.531 kB / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.205, allocations: 3.906 kB / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003127/1.208, allocations: 0.6821 MB / 1.139 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.208, allocations: 0 / 1.139 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/1.211, allocations: 426.3 kB / 1.14 GB, free: 25.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/1.211, allocations: 30.81 kB / 1.14 GB, free: 25.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008919/1.22, allocations: 3.797 MB / 1.144 GB, free: 23.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008263/1.221, allocations: 50.42 kB / 1.144 GB, free: 23.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/1.221, allocations: 14.92 kB / 1.144 GB, free: 23.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 11 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003741/1.221, allocations: 229.5 kB / 1.144 GB, free: 23.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/1.221, allocations: 50.03 kB / 1.144 GB, free: 23.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/1.222, allocations: 56.3 kB / 1.144 GB, free: 23.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.222, allocations: 11.78 kB / 1.144 GB, free: 23.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.222, allocations: 0 / 1.144 GB, free: 23.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/1.222, allocations: 320 / 1.144 GB, free: 23.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007842/1.222, allocations: 0.4895 MB / 1.144 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.222, allocations: 4 kB / 1.144 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/1.223, allocations: 27 kB / 1.144 GB, free: 23.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002829/1.225, allocations: 405 kB / 1.145 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.149e-05/1.226, allocations: 7.031 kB / 1.145 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008337/1.234, allocations: 3.76 MB / 1.148 GB, free: 21.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.234, allocations: 4 kB / 1.148 GB, free: 21.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/1.237, allocations: 0.8192 MB / 1.149 GB, free: 21.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/1.237, allocations: 149.9 kB / 1.149 GB, free: 20.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/1.237, allocations: 9.562 kB / 1.149 GB, free: 20.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/1.238, allocations: 26.77 kB / 1.149 GB, free: 20.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/1.238, allocations: 34.66 kB / 1.149 GB, free: 20.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/1.238, allocations: 11.5 kB / 1.15 GB, free: 20.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003595/1.238, allocations: 249.9 kB / 1.15 GB, free: 20.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.238, allocations: 0 / 1.15 GB, free: 20.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001059/1.24, allocations: 286.2 kB / 1.15 GB, free: 20.77 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 9 * 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 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.003438/1.243, allocations: 1.361 MB / 1.151 GB, free: 19.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003708/1.247, allocations: 0.9487 MB / 1.152 GB, free: 19.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.247, allocations: 0 / 1.152 GB, free: 19.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/1.248, allocations: 0.5025 MB / 1.153 GB, free: 19.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/1.249, allocations: 113.5 kB / 1.153 GB, free: 19.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/1.256, allocations: 2.72 MB / 1.156 GB, free: 18.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/1.257, allocations: 0.8515 MB / 1.156 GB, free: 17.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002732/1.257, allocations: 34.67 kB / 1.156 GB, free: 17.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/1.257, allocations: 133.2 kB / 1.157 GB, free: 17.31 MB / 0.698 GB Notification: Performance of SimCode: time 8.52e-07/1.257, allocations: 0 / 1.157 GB, free: 17.31 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04661/1.304, allocations: 14.47 MB / 1.171 GB, free: 4.102 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003033/1.304, allocations: 223.4 kB / 1.171 GB, free: 3.863 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/4.222, allocations: 0 / 1.171 GB, free: 3.863 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)