Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0007754/0.0007754, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005257/0.005257, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 14.12 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3765, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005359/0.3819, allocations: 4.697 MB / 1.079 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006986/0.3889, allocations: 4.582 MB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005688/0.3895, allocations: 15.94 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.3913, allocations: 0.5678 MB / 1.084 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.3924, allocations: 373.6 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.3942, allocations: 0.6346 MB / 1.085 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00225/0.3965, allocations: 1.92 MB / 1.087 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008179/0.3973, allocations: 0.5152 MB / 1.087 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.3984, allocations: 0.5367 MB / 1.088 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009575/0.3993, allocations: 0.6649 MB / 1.088 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.3995, allocations: 71.94 kB / 1.088 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009215/0.4004, allocations: 311.8 kB / 1.089 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.4008, allocations: 258.8 kB / 1.089 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008768/0.4017, allocations: 0.6311 MB / 1.09 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.4037, allocations: 1.935 MB / 1.091 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4037, allocations: 0 / 1.091 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4037, allocations: 0 / 1.091 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.4037, allocations: 4 kB / 1.091 GB, free: 5.715 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.003434/0.4072, allocations: 1.659 MB / 1.093 GB, free: 4 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4072, allocations: 16.03 kB / 1.093 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02724/0.4345, allocations: 3.873 MB / 1.097 GB, free: 108 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02817/0.4627, allocations: 3.813 MB / 1.101 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.4628, allocations: 62.31 kB / 1.101 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007076/0.4636, allocations: 76.38 kB / 1.101 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00667/0.4702, allocations: 2.044 MB / 1.103 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.4703, allocations: 0 / 1.103 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.4704, allocations: 28 kB / 1.103 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.4705, allocations: 16 kB / 1.103 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006009/0.4765, allocations: 1.745 MB / 1.104 GB, free: 8.258 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.01035/0.4868, allocations: 7.373 MB / 1.112 GB, free: 68 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006117/0.493, allocations: 1.821 MB / 1.113 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00535/0.4984, allocations: 1.514 MB / 1.115 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004332/0.4988, allocations: 400.8 kB / 1.115 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.4989, allocations: 39.12 kB / 1.115 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.016e-06/0.4989, allocations: 3.938 kB / 1.115 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.03805/0.5369, allocations: 8.834 MB / 1.124 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.537, allocations: 59.97 kB / 1.124 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.5387, allocations: 1.068 MB / 1.125 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003713/0.539, allocations: 41.7 kB / 1.125 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.5395, allocations: 496.7 kB / 1.126 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.5399, allocations: 240.5 kB / 1.126 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.5402, allocations: 57.69 kB / 1.126 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5403, allocations: 345.8 kB / 1.126 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009891/0.5502, allocations: 2.32 MB / 1.128 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/0.5603, allocations: 2.437 MB / 1.131 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/0.5752, allocations: 3.268 MB / 1.134 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.5753, allocations: 0 / 1.134 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02939/0.6047, allocations: 6.208 MB / 1.14 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.6049, allocations: 107.9 kB / 1.14 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02176/0.6266, allocations: 4.908 MB / 1.145 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09504/0.7217, allocations: 10.5 MB / 1.155 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/0.7259, allocations: 383.5 kB / 1.156 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008114/0.734, allocations: 3.056 MB / 1.159 GB, free: 15.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005482/0.7396, allocations: 414.8 kB / 1.159 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/0.7399, allocations: 71.92 kB / 1.159 GB, free: 15.2 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.7399, allocations: 4 kB / 1.159 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02167/0.7616, allocations: 5.153 MB / 1.164 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01856/0.7802, allocations: 4.564 MB / 1.169 GB, free: 5.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002355/0.7826, allocations: 0.816 MB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004856/0.7874, allocations: 487.3 kB / 1.17 GB, free: 4.168 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009437/0.7969, allocations: 6.117 MB / 1.176 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/0.8022, allocations: 414.8 kB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003524/0.8026, allocations: 71.92 kB / 1.176 GB, free: 13.45 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.001207/0.8038, allocations: 480.7 kB / 1.177 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/0.8041, allocations: 110.7 kB / 1.177 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01798/0.8221, allocations: 4.78 MB / 1.181 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.8222, allocations: 11.98 kB / 1.181 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.8222, allocations: 0 / 1.181 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.8222, allocations: 3.984 kB / 1.181 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/0.8414, allocations: 6.553 MB / 1.188 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03883/0.8803, allocations: 5.155 MB / 1.193 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/0.8824, allocations: 191.7 kB / 1.193 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1161/0.9985, allocations: 15.21 MB / 1.208 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002945/0.9989, allocations: 43.95 kB / 1.208 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007603/1.006, allocations: 3.1 MB / 1.211 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.006, allocations: 0 / 1.211 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03805/1.045, allocations: 5.451 MB / 1.216 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.046, allocations: 495.2 kB / 1.217 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/1.046, allocations: 16 kB / 1.217 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003117/1.049, allocations: 243.6 kB / 1.217 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.049, allocations: 44.59 kB / 1.217 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.049, allocations: 51.95 kB / 1.217 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001063/1.051, allocations: 0.7567 MB / 1.218 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.31e-07/1.051, allocations: 0 / 1.218 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002049/1.053, allocations: 0.7255 MB / 1.219 GB, free: 1.676 MB / 0.9669 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.0004511/1.053, allocations: 191.7 kB / 1.219 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02488/1.078, allocations: 6.355 MB / 1.225 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.078, allocations: 0 / 1.225 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.006295/1.084, allocations: 1.622 MB / 1.227 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.086, allocations: 261.5 kB / 1.227 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009032/1.095, allocations: 3.844 MB / 1.231 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/1.096, allocations: 1.31 MB / 1.232 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004079/1.1, allocations: 0.8236 MB / 1.233 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000693/1.101, allocations: 119.3 kB / 1.233 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of SimCode: time 1.253e-06/1.101, allocations: 3.938 kB / 1.233 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of Templates: time 0.6624/1.763, allocations: 66.07 MB / 1.297 GB, free: 157.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)