Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 285.4 MB / 298 MB, free: 5.961 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.001069/0.00107, allocations: 176.8 kB / 366.4 MB, free: 2.082 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.87/1.87, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.001085/0.001084, allocations: 99.38 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.254e-05, allocations: 8 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7871/0.7872, allocations: 115.3 MB / 0.971 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/1.01, allocations: 144.7 MB / 1.112 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/1.011, allocations: 85.08 kB / 1.112 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04245/1.053, allocations: 10.14 MB / 1.122 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.275e-06/1.053, allocations: 0 / 1.122 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.469e-05/1.053, allocations: 8 kB / 1.122 GB, free: 12.95 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002028/1.055, allocations: 0.701 MB / 1.123 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.649e-05/1.055, allocations: 12.03 kB / 1.123 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002067/1.056, allocations: 82.52 kB / 1.123 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/1.056, allocations: 63.3 kB / 1.123 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008782/1.057, allocations: 339.1 kB / 1.123 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/1.057, allocations: 33 kB / 1.123 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/1.057, allocations: 48 kB / 1.123 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/1.058, allocations: 374.5 kB / 1.124 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/1.058, allocations: 0 / 1.124 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/1.058, allocations: 16 kB / 1.124 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/1.058, allocations: 12 kB / 1.124 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008959/1.059, allocations: 303.9 kB / 1.124 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/1.063, allocations: 1.304 MB / 1.125 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/1.064, allocations: 380 kB / 1.126 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/1.064, allocations: 221.8 kB / 1.126 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.6e-05/1.065, allocations: 4 kB / 1.126 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/1.065, allocations: 38.55 kB / 1.126 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 3.246e-06/1.065, allocations: 0 / 1.126 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.002862/1.067, allocations: 0.6669 MB / 1.127 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/1.068, allocations: 59.36 kB / 1.127 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/1.068, allocations: 299.6 kB / 1.127 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/1.068, allocations: 37.7 kB / 1.127 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/1.069, allocations: 212.6 kB / 1.127 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/1.069, allocations: 145.9 kB / 1.127 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/1.069, allocations: 8 kB / 1.127 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002264/1.069, allocations: 346.8 kB / 1.128 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/1.069, allocations: 116 kB / 1.128 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/1.07, allocations: 185.9 kB / 1.128 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/1.07, allocations: 142.4 kB / 1.128 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.07, allocations: 0 / 1.128 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002801/1.073, allocations: 0.6691 MB / 1.129 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-05/1.073, allocations: 93.36 kB / 1.129 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.073, allocations: 0 / 1.129 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/1.076, allocations: 424.4 kB / 1.129 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/1.076, allocations: 39.92 kB / 1.129 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/1.078, allocations: 1.057 MB / 1.13 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007005/1.079, allocations: 47.73 kB / 1.13 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/1.079, allocations: 8 kB / 1.13 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.079, allocations: 4 kB / 1.13 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002637/1.082, allocations: 0.6365 MB / 1.131 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/1.082, allocations: 0 / 1.131 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/1.084, allocations: 432.5 kB / 1.131 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/1.084, allocations: 27.92 kB / 1.132 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009419/1.094, allocations: 3.665 MB / 1.135 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/1.095, allocations: 47.64 kB / 1.135 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/1.095, allocations: 8 kB / 1.135 GB, free: 15.31 MB / 0.7448 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 () * 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.0002338/1.095, allocations: 124.9 kB / 1.135 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/1.095, allocations: 47.48 kB / 1.135 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/1.095, allocations: 61.66 kB / 1.135 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/1.095, allocations: 4 kB / 1.135 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.095, allocations: 3.984 kB / 1.135 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.096, allocations: 0 / 1.135 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/1.097, allocations: 497.7 kB / 1.136 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.097, allocations: 7.922 kB / 1.136 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/1.097, allocations: 33.73 kB / 1.136 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002356/1.099, allocations: 401.2 kB / 1.136 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/1.099, allocations: 4 kB / 1.136 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009019/1.108, allocations: 3.639 MB / 1.14 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.108, allocations: 3.125 kB / 1.14 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/1.111, allocations: 0.7761 MB / 1.141 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/1.111, allocations: 152.5 kB / 1.141 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/1.112, allocations: 8 kB / 1.141 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/1.112, allocations: 23.89 kB / 1.141 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/1.112, allocations: 33.73 kB / 1.141 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/1.112, allocations: 15.98 kB / 1.141 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004788/1.113, allocations: 242.2 kB / 1.141 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.11e-07/1.113, allocations: 0 / 1.141 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001475/1.114, allocations: 283.5 kB / 1.141 GB, free: 8.758 MB / 0.7448 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 () * 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.003258/1.118, allocations: 1.325 MB / 1.143 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003473/1.121, allocations: 0.8909 MB / 1.143 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.121, allocations: 0 / 1.143 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/1.123, allocations: 489.8 kB / 1.144 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009222/1.124, allocations: 110.3 kB / 1.144 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/1.126, allocations: 0.6405 MB / 1.145 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/1.127, allocations: 0.8447 MB / 1.145 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000446/1.127, allocations: 51.25 kB / 1.146 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/1.128, allocations: 131.3 kB / 1.146 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/1.128, allocations: 3.938 kB / 1.146 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/1.173, allocations: 14.84 MB / 1.16 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/1.173, allocations: 206.5 kB / 1.16 GB, free: 5.562 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/3.675, allocations: 0 / 1.16 GB, free: 5.562 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)