Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007577/0.0007577, allocations: 91.53 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004824/0.004825, allocations: 172.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.208/1.208, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.0004928, allocations: 15.53 kB / 0.6744 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2032, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.004826/0.2081, allocations: 4.705 MB / 0.7926 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005741/0.2138, allocations: 4.608 MB / 0.7971 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/0.2142, allocations: 12 kB / 0.7971 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.2156, allocations: 0.5717 MB / 0.7977 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007874/0.2165, allocations: 369.6 kB / 0.798 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.2178, allocations: 0.6342 MB / 0.7986 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.2196, allocations: 1.908 MB / 0.8005 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006583/0.2203, allocations: 0.5269 MB / 0.801 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/0.2209, allocations: 0.5288 MB / 0.8015 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007686/0.2216, allocations: 0.6649 MB / 0.8022 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.2218, allocations: 68 kB / 0.8022 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006299/0.2224, allocations: 303.8 kB / 0.8025 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.2226, allocations: 266.8 kB / 0.8028 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005789/0.2232, allocations: 0.6311 MB / 0.8034 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.2249, allocations: 1.927 MB / 0.8053 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2249, allocations: 3.938 kB / 0.8053 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2249, allocations: 0 / 0.8053 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.2249, allocations: 0 / 0.8053 GB, free: 9.691 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002964/0.2279, allocations: 1.667 MB / 0.8069 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2279, allocations: 11.97 kB / 0.8069 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.2281, allocations: 122.7 kB / 0.807 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02843/0.2565, allocations: 3.877 MB / 0.8108 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02806/0.2846, allocations: 3.817 MB / 0.8146 GB, free: 72 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/0.2847, allocations: 54.38 kB / 0.8146 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005014/0.2852, allocations: 76.42 kB / 0.8147 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006369/0.2916, allocations: 2.036 MB / 0.8167 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.2917, allocations: 3.984 kB / 0.8167 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.2918, allocations: 32 kB / 0.8167 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.2919, allocations: 16 kB / 0.8167 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006066/0.2979, allocations: 1.741 MB / 0.8184 GB, free: 12.11 MB / 0.6387 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.009436/0.3074, allocations: 7.377 MB / 0.8256 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00602/0.3134, allocations: 1.812 MB / 0.8274 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005524/0.319, allocations: 1.514 MB / 0.8289 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003853/0.3194, allocations: 384.9 kB / 0.8292 GB, free: 120 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.3194, allocations: 47.11 kB / 0.8293 GB, free: 64 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/0.3194, allocations: 0 / 0.8293 GB, free: 64 kB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.03838/0.3578, allocations: 8.834 MB / 0.8379 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.505e-05/0.3579, allocations: 59.97 kB / 0.838 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.3594, allocations: 1.072 MB / 0.839 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003168/0.3597, allocations: 37.7 kB / 0.839 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.3602, allocations: 496.8 kB / 0.8395 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.3605, allocations: 244.4 kB / 0.8398 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.3608, allocations: 61.69 kB / 0.8398 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3609, allocations: 337.9 kB / 0.8401 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/0.3711, allocations: 2.316 MB / 0.8424 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01024/0.3813, allocations: 2.452 MB / 0.8448 GB, free: 40 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/0.396, allocations: 3.257 MB / 0.848 GB, free: 12.78 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3961, allocations: 0 / 0.848 GB, free: 12.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02644/0.4225, allocations: 6.212 MB / 0.854 GB, free: 6.551 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.662e-05/0.4226, allocations: 95.91 kB / 0.8541 GB, free: 6.449 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02093/0.4435, allocations: 4.9 MB / 0.8589 GB, free: 1.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.126/0.5696, allocations: 10.49 MB / 0.8692 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005778/0.5754, allocations: 387.5 kB / 0.8695 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.5873, allocations: 3.064 MB / 0.8725 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007228/0.5945, allocations: 410.8 kB / 0.8729 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005324/0.5951, allocations: 67.92 kB / 0.873 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.5951, allocations: 11.94 kB / 0.873 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02337/0.6185, allocations: 5.157 MB / 0.878 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01941/0.638, allocations: 4.568 MB / 0.8825 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002455/0.6404, allocations: 0.8121 MB / 0.8833 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004871/0.6453, allocations: 491.3 kB / 0.8838 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009725/0.6551, allocations: 6.129 MB / 0.8897 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005099/0.6602, allocations: 402.9 kB / 0.8901 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003349/0.6606, allocations: 71.91 kB / 0.8902 GB, free: 1.316 MB / 0.7012 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001003/0.6616, allocations: 485.4 kB / 0.8907 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003642/0.662, allocations: 110.6 kB / 0.8908 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/0.6807, allocations: 4.776 MB / 0.8954 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.6807, allocations: 8 kB / 0.8954 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.6807, allocations: 4 kB / 0.8954 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.6807, allocations: 3.984 kB / 0.8954 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/0.7005, allocations: 6.575 MB / 0.9019 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03996/0.7405, allocations: 5.101 MB / 0.9068 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/0.7427, allocations: 203.7 kB / 0.907 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1138/0.8565, allocations: 15.21 MB / 0.9219 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000295/0.8568, allocations: 43.95 kB / 0.9219 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3999/1.257, allocations: 3.089 MB / 0.9249 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.257, allocations: 1.328 kB / 0.9249 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03948/1.296, allocations: 5.403 MB / 0.9302 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.297, allocations: 489.8 kB / 0.9307 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/1.298, allocations: 16.5 kB / 0.9307 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/1.3, allocations: 235.7 kB / 0.9309 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.301, allocations: 51.28 kB / 0.931 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/1.301, allocations: 48.02 kB / 0.931 GB, free: 133 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009875/1.302, allocations: 0.7637 MB / 0.9318 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.302, allocations: 0 / 0.9318 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001932/1.304, allocations: 0.7151 MB / 0.9325 GB, free: 132.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,51)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01782/1.322, allocations: 4.478 MB / 0.9368 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02608/1.348, allocations: 6.357 MB / 0.943 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.348, allocations: 0 / 0.943 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006249/1.354, allocations: 1.62 MB / 0.9446 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/1.356, allocations: 266.9 kB / 0.9449 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06705/1.423, allocations: 21.57 MB / 0.966 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008355/1.423, allocations: 1.302 MB / 0.9672 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00384/1.427, allocations: 0.8365 MB / 0.968 GB, free: 114 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000961/1.428, allocations: 471.1 kB / 0.9685 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.243e-06/1.428, allocations: 0 / 0.9685 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.07/12.5, allocations: 76.74 MB / 1.043 GB, free: 37.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/12.5, allocations: 250.5 kB / 1.044 GB, free: 36.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.714/18.21, allocations: 0 / 1.044 GB, free: 36.9 MB / 0.7325 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)