Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 196.2 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 62.16 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3594, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.006826/0.3663, allocations: 5.11 MB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006882/0.3732, allocations: 4.672 MB / 1.078 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008776/0.3741, allocations: 11.94 kB / 1.078 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.3761, allocations: 0.618 MB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.3775, allocations: 425 kB / 1.079 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.3794, allocations: 0.7321 MB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002263/0.3817, allocations: 1.849 MB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008117/0.3826, allocations: 0.5661 MB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009928/0.3836, allocations: 0.6968 MB / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000923/0.3845, allocations: 0.7976 MB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.3847, allocations: 148 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008123/0.3855, allocations: 395.7 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003489/0.3859, allocations: 366.9 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007818/0.3867, allocations: 0.7231 MB / 1.085 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.3887, allocations: 2.084 MB / 1.087 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3887, allocations: 0 / 1.087 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3887, allocations: 0 / 1.087 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.3887, allocations: 0 / 1.087 GB, free: 7.219 MB / 0.8419 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.00339/0.3921, allocations: 1.881 MB / 1.089 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3922, allocations: 8.031 kB / 1.089 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02802/0.4202, allocations: 4.302 MB / 1.093 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02635/0.4466, allocations: 4.504 MB / 1.097 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.4467, allocations: 54.38 kB / 1.097 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004999/0.4472, allocations: 76.38 kB / 1.097 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006185/0.4534, allocations: 2.095 MB / 1.1 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.4534, allocations: 0 / 1.1 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.4536, allocations: 28 kB / 1.1 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.4536, allocations: 23.98 kB / 1.1 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005519/0.4592, allocations: 1.795 MB / 1.101 GB, free: 8.324 MB / 0.8575 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.01099/0.4702, allocations: 7.365 MB / 1.108 GB, free: 148 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005499/0.4757, allocations: 1.886 MB / 1.11 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004814/0.4805, allocations: 1.572 MB / 1.112 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004707/0.481, allocations: 396.9 kB / 1.112 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.4811, allocations: 43.12 kB / 1.112 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.616e-06/0.4811, allocations: 0 / 1.112 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.03563/0.5167, allocations: 9.056 MB / 1.121 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.5168, allocations: 59.95 kB / 1.121 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.5185, allocations: 1.075 MB / 1.122 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.5188, allocations: 37.7 kB / 1.122 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005556/0.5194, allocations: 488.8 kB / 1.123 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.5197, allocations: 244.4 kB / 1.123 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007978/0.5205, allocations: 278.1 kB / 1.123 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5206, allocations: 337.9 kB / 1.124 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008802/0.5294, allocations: 2.462 MB / 1.126 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008971/0.5384, allocations: 2.562 MB / 1.128 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/0.5515, allocations: 3.46 MB / 1.132 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.5515, allocations: 0 / 1.132 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02379/0.5753, allocations: 6.528 MB / 1.138 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.5754, allocations: 8 kB / 1.138 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01865/0.594, allocations: 5.158 MB / 1.143 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0901/0.6841, allocations: 10.97 MB / 1.154 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003498/0.6877, allocations: 487.3 kB / 1.154 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007313/0.695, allocations: 3.118 MB / 1.157 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/0.6996, allocations: 0.5065 MB / 1.158 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003312/0.6999, allocations: 75.91 kB / 1.158 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009671/0.7096, allocations: 2.784 MB / 1.161 GB, free: 10.28 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008803/0.7184, allocations: 2.546 MB / 1.163 GB, free: 7.691 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01283/0.7313, allocations: 3.424 MB / 1.167 GB, free: 4.266 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.7313, allocations: 4 kB / 1.167 GB, free: 4.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.02199/0.7533, allocations: 5.532 MB / 1.172 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.7534, allocations: 8 kB / 1.172 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01684/0.7702, allocations: 4.767 MB / 1.177 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/0.7727, allocations: 0.8199 MB / 1.177 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/0.777, allocations: 0.5851 MB / 1.178 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.7871, allocations: 6.63 MB / 1.185 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004573/0.7917, allocations: 0.5029 MB / 1.185 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003532/0.7921, allocations: 71.92 kB / 1.185 GB, free: 1.176 MB / 0.9356 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.0005561/0.7926, allocations: 212.7 kB / 1.185 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004435/0.7931, allocations: 110.6 kB / 1.185 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/0.8099, allocations: 4.94 MB / 1.19 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.8099, allocations: 8 kB / 1.19 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.8099, allocations: 0 / 1.19 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.8099, allocations: 3.984 kB / 1.19 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01784/0.8278, allocations: 6.748 MB / 1.197 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03622/0.864, allocations: 6.033 MB / 1.203 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.8659, allocations: 235.7 kB / 1.203 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04778/0.9137, allocations: 7.159 MB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003572/0.9141, allocations: 39.95 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007556/0.9216, allocations: 3.154 MB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.9217, allocations: 112 / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.036/0.9577, allocations: 6.329 MB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.9589, allocations: 495.2 kB / 1.22 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005226/0.9595, allocations: 16 kB / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/0.9623, allocations: 295.5 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.9625, allocations: 44.59 kB / 1.22 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/0.9627, allocations: 43.95 kB / 1.22 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001416/0.9641, allocations: 0.7645 MB / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3e-07/0.9641, allocations: 4 kB / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002498/0.9666, allocations: 0.7139 MB / 1.222 GB, free: 11.5 MB / 0.9825 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.0004808/0.9671, allocations: 187 kB / 1.222 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02256/0.9897, allocations: 6.679 MB / 1.228 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.9897, allocations: 3.938 kB / 1.228 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005651/0.9954, allocations: 1.696 MB / 1.23 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.997, allocations: 275.2 kB / 1.23 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008551/1.006, allocations: 3.49 MB / 1.234 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.007, allocations: 1.306 MB / 1.235 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003647/1.01, allocations: 0.7845 MB / 1.236 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006654/1.011, allocations: 119.3 kB / 1.236 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.011, allocations: 0 / 1.236 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of Templates: time 0.6302/1.641, allocations: 63.09 MB / 1.297 GB, free: 158.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)