Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Window.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.Examples.Window,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window",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.761/1.761, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.002102/0.002102, allocations: 165.1 kB / 371.8 MB, free: 10.29 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.766/1.766, allocations: 205.4 MB / 0.6305 GB, free: 9.926 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.001224/0.001224, allocations: 106.8 kB / 0.7439 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004217, allocations: 11.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2642, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.01274/0.2771, allocations: 10.66 MB / 0.9899 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8582/1.135, allocations: 135.7 MB / 1.122 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004168/1.14, allocations: 58.84 kB / 1.122 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007357/1.147, allocations: 1.82 MB / 1.124 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00719/1.154, allocations: 1.555 MB / 1.126 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007364/1.162, allocations: 1.708 MB / 1.127 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009714/1.171, allocations: 4.333 MB / 1.132 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/1.175, allocations: 1.661 MB / 1.133 GB, free: 16.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006179/1.181, allocations: 1.984 MB / 1.135 GB, free: 16.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005953/1.187, allocations: 1.795 MB / 1.137 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0014/1.188, allocations: 138.8 kB / 1.137 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009297/1.197, allocations: 1.994 MB / 1.139 GB, free: 14.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.004399/1.202, allocations: 3.136 MB / 1.142 GB, free: 13.64 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004184/1.206, allocations: 1.121 MB / 1.143 GB, free: 13.38 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02186/1.228, allocations: 11.16 MB / 1.154 GB, free: 7.914 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.228, allocations: 1.75 kB / 1.154 GB, free: 7.914 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.246e-06/1.228, allocations: 2.812 kB / 1.154 GB, free: 7.914 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006413/1.229, allocations: 4 kB / 1.154 GB, free: 7.91 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.03447/1.263, allocations: 8.514 MB / 1.162 GB, free: 3.281 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.007e-05/1.263, allocations: 11.14 kB / 1.162 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002037/1.265, allocations: 365.2 kB / 1.163 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03361/1.299, allocations: 4.666 MB / 1.167 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3031/1.602, allocations: 259.7 MB / 1.421 GB, free: 2.176 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/1.602, allocations: 217 kB / 1.421 GB, free: 1.961 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001488/1.604, allocations: 295.9 kB / 1.421 GB, free: 1.672 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/1.616, allocations: 4.314 MB / 1.426 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/1.616, allocations: 4 kB / 1.426 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003824/1.617, allocations: 104 kB / 1.426 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.905e-05/1.617, allocations: 64 kB / 1.426 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/1.628, allocations: 3.937 MB / 1.43 GB, free: 9.105 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7295/2.357, allocations: 79.15 MB / 1.507 GB, free: 324.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009087/2.366, allocations: 3.685 MB / 1.511 GB, free: 321 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004946/2.367, allocations: 443.6 kB / 1.511 GB, free: 320.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006609/2.373, allocations: 2.846 MB / 1.514 GB, free: 317.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=201): time 6.882e-06/2.374, allocations: 3.609 kB / 1.514 GB, free: 317.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=201): time 0.04967/2.423, allocations: 13.48 MB / 1.527 GB, free: 304.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/2.423, allocations: 381.2 kB / 1.527 GB, free: 304 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8953/3.319, allocations: 317.2 MB / 1.837 GB, free: 351.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001347/3.32, allocations: 80.23 kB / 1.837 GB, free: 351.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.005644/3.326, allocations: 2.95 MB / 1.84 GB, free: 349.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001346/3.327, allocations: 0.6714 MB / 1.841 GB, free: 348.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004985/3.328, allocations: 51.38 kB / 1.841 GB, free: 348.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000299/3.328, allocations: 421.4 kB / 1.841 GB, free: 348.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01354/3.342, allocations: 3.878 MB / 1.845 GB, free: 347.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01373/3.355, allocations: 4.327 MB / 1.849 GB, free: 345.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/3.369, allocations: 3.912 MB / 1.853 GB, free: 344.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.711e-05/3.369, allocations: 2.031 kB / 1.853 GB, free: 344.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.04101/3.41, allocations: 10.68 MB / 1.863 GB, free: 341 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001057/3.411, allocations: 3.342 MB / 1.867 GB, free: 337.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02789/3.439, allocations: 8.609 MB / 1.875 GB, free: 334.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08295/3.522, allocations: 10.88 MB / 1.886 GB, free: 329.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005595/3.528, allocations: 0.7963 MB / 1.886 GB, free: 328.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/3.54, allocations: 7.92 MB / 1.894 GB, free: 320.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/3.551, allocations: 1.059 MB / 1.895 GB, free: 319.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/3.553, allocations: 167.9 kB / 1.895 GB, free: 319.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/3.553, allocations: 8.938 kB / 1.895 GB, free: 319.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03181/3.584, allocations: 9.502 MB / 1.905 GB, free: 309.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02729/3.612, allocations: 8.565 MB / 1.913 GB, free: 301 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/3.616, allocations: 1.182 MB / 1.914 GB, free: 299.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006656/3.622, allocations: 0.8893 MB / 1.915 GB, free: 298.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/3.637, allocations: 11.97 MB / 1.927 GB, free: 286.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/3.648, allocations: 1.012 MB / 1.928 GB, free: 285.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/3.649, allocations: 163.8 kB / 1.928 GB, free: 285.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.007092/3.656, allocations: 2.608 MB / 1.93 GB, free: 282.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004206/3.66, allocations: 0.5822 MB / 1.931 GB, free: 282 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02548/3.686, allocations: 8.411 MB / 1.939 GB, free: 273.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/3.686, allocations: 20 kB / 1.939 GB, free: 273.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/3.686, allocations: 4 kB / 1.939 GB, free: 273.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-05/3.686, allocations: 11.95 kB / 1.939 GB, free: 273.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04084/3.727, allocations: 16.06 MB / 1.955 GB, free: 257.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03838/3.765, allocations: 7.766 MB / 1.963 GB, free: 249.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003025/3.768, allocations: 423.4 kB / 1.963 GB, free: 249.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.103/3.872, allocations: 15.69 MB / 1.978 GB, free: 233.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007165/3.872, allocations: 84.55 kB / 1.978 GB, free: 233.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009678/3.882, allocations: 7.939 MB / 1.986 GB, free: 224.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/3.882, allocations: 368 / 1.986 GB, free: 224.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04061/3.923, allocations: 8.545 MB / 1.994 GB, free: 216.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007678/3.93, allocations: 2.296 MB / 1.997 GB, free: 214 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003955/3.934, allocations: 39.95 kB / 1.997 GB, free: 214 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009042/3.943, allocations: 0.6769 MB / 1.997 GB, free: 213.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008433/3.944, allocations: 137.7 kB / 1.998 GB, free: 213.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006659/3.945, allocations: 111.7 kB / 1.998 GB, free: 213.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.6874/4.632, allocations: 252.5 MB / 2.244 GB, free: 337.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.81e-07/4.632, allocations: 2.375 kB / 2.244 GB, free: 337.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01629/4.649, allocations: 3.017 MB / 2.247 GB, free: 337.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02699/4.676, allocations: 8.437 MB / 2.255 GB, free: 332.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.03781/4.714, allocations: 14.5 MB / 2.27 GB, free: 320.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/4.714, allocations: 0 / 2.27 GB, free: 320.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00856/4.722, allocations: 3.739 MB / 2.273 GB, free: 316.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008979/4.731, allocations: 0.864 MB / 2.274 GB, free: 316.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05943/4.791, allocations: 24.13 MB / 2.298 GB, free: 292.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007844/4.799, allocations: 4.003 MB / 2.301 GB, free: 288.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01794/4.817, allocations: 3.169 MB / 2.305 GB, free: 285.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0112/4.828, allocations: 3.072 MB / 2.308 GB, free: 282.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.754e-06/4.828, allocations: 0 / 2.308 GB, free: 282.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8055/5.633, allocations: 299.3 MB / 2.6 GB, free: 335.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/5.634, allocations: 271.4 kB / 2.6 GB, free: 334.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/17.71, allocations: 0 / 2.6 GB, free: 334.9 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Window.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Window.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Window.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Window.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Window.pipe 2>&1)