Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.297/2.297, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 202.4 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 95.75 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 55.89 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005743/0.3057, allocations: 5.11 MB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.005531/0.3113, allocations: 4.643 MB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007715/0.3121, allocations: 11.94 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.3139, allocations: 0.5697 MB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.3151, allocations: 365.6 kB / 1.229 GB, free: 106.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.3167, allocations: 0.6584 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001807/0.3185, allocations: 1.916 MB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006836/0.3192, allocations: 0.5347 MB / 1.232 GB, free: 103.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007921/0.32, allocations: 0.5912 MB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009706/0.321, allocations: 0.7235 MB / 1.233 GB, free: 102.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002755/0.3213, allocations: 88 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008543/0.3222, allocations: 327.8 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.3225, allocations: 298.8 kB / 1.234 GB, free: 101.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00079/0.3233, allocations: 0.6451 MB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.325, allocations: 1.982 MB / 1.236 GB, free: 98.71 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.325, allocations: 0 / 1.236 GB, free: 98.71 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.102e-06/0.325, allocations: 0 / 1.236 GB, free: 98.71 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.093e-05/0.3251, allocations: 0 / 1.236 GB, free: 98.71 MB / 0.823 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.003665/0.3287, allocations: 1.869 MB / 1.238 GB, free: 96.79 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3288, allocations: 11.98 kB / 1.238 GB, free: 96.78 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02483/0.3536, allocations: 4.306 MB / 1.242 GB, free: 92.46 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02352/0.3772, allocations: 4.504 MB / 1.247 GB, free: 87.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-05/0.3773, allocations: 58.38 kB / 1.247 GB, free: 87.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005577/0.3779, allocations: 72.38 kB / 1.247 GB, free: 87.77 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005761/0.3837, allocations: 2.087 MB / 1.249 GB, free: 85.68 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.3837, allocations: 0 / 1.249 GB, free: 85.68 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.3839, allocations: 32 kB / 1.249 GB, free: 85.64 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.3839, allocations: 16 kB / 1.249 GB, free: 85.63 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004874/0.3888, allocations: 1.795 MB / 1.251 GB, free: 83.84 MB / 0.823 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.009425/0.3982, allocations: 7.358 MB / 1.258 GB, free: 75.67 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004741/0.403, allocations: 1.878 MB / 1.26 GB, free: 73.79 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004138/0.4071, allocations: 1.582 MB / 1.261 GB, free: 72.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003337/0.4075, allocations: 392.9 kB / 1.261 GB, free: 71.74 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.4075, allocations: 47.12 kB / 1.261 GB, free: 71.69 MB / 0.823 GB Notification: Performance of pre-optimization done (n=70): time 2.575e-06/0.4075, allocations: 0 / 1.261 GB, free: 71.69 MB / 0.823 GB Notification: Performance of matching and sorting (n=70): time 0.03158/0.4391, allocations: 9.052 MB / 1.27 GB, free: 62.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.4392, allocations: 63.89 kB / 1.27 GB, free: 62.52 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.4413, allocations: 1.068 MB / 1.271 GB, free: 61.44 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004317/0.4417, allocations: 37.7 kB / 1.271 GB, free: 61.39 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006334/0.4424, allocations: 0.489 MB / 1.272 GB, free: 60.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000434/0.4428, allocations: 232.5 kB / 1.272 GB, free: 60.67 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/0.444, allocations: 282 kB / 1.272 GB, free: 60.38 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4441, allocations: 337.9 kB / 1.273 GB, free: 60.05 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007846/0.4519, allocations: 2.458 MB / 1.275 GB, free: 57.59 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007895/0.4599, allocations: 2.573 MB / 1.278 GB, free: 54.97 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/0.4715, allocations: 3.452 MB / 1.281 GB, free: 51.52 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.4715, allocations: 0 / 1.281 GB, free: 51.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02158/0.4931, allocations: 6.532 MB / 1.287 GB, free: 44.97 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.4932, allocations: 4.938 kB / 1.287 GB, free: 44.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01633/0.5095, allocations: 5.15 MB / 1.292 GB, free: 39.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07776/0.5873, allocations: 10.99 MB / 1.303 GB, free: 28.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/0.5905, allocations: 479.3 kB / 1.304 GB, free: 28.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006723/0.5973, allocations: 3.122 MB / 1.307 GB, free: 25.19 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/0.6015, allocations: 0.5221 MB / 1.307 GB, free: 24.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003632/0.6019, allocations: 71.92 kB / 1.307 GB, free: 24.59 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008332/0.6102, allocations: 2.784 MB / 1.31 GB, free: 21.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007675/0.6179, allocations: 2.55 MB / 1.312 GB, free: 19.21 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0111/0.6291, allocations: 3.42 MB / 1.316 GB, free: 15.79 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.548e-06/0.6291, allocations: 0 / 1.316 GB, free: 15.79 MB / 0.823 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.01749/0.6466, allocations: 5.536 MB / 1.321 GB, free: 10.23 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6466, allocations: 4 kB / 1.321 GB, free: 10.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01506/0.6617, allocations: 4.779 MB / 1.326 GB, free: 5.441 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002263/0.664, allocations: 0.8043 MB / 1.327 GB, free: 4.633 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/0.6678, allocations: 0.5891 MB / 1.327 GB, free: 4.043 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008909/0.6768, allocations: 6.109 MB / 1.333 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004479/0.6813, allocations: 0.4989 MB / 1.334 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003566/0.6817, allocations: 75.91 kB / 1.334 GB, free: 13.22 MB / 0.8386 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.0005426/0.6822, allocations: 216.1 kB / 1.334 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/0.6827, allocations: 106.7 kB / 1.334 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/0.6989, allocations: 4.944 MB / 1.339 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.6989, allocations: 4 kB / 1.339 GB, free: 7.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6989, allocations: 4 kB / 1.339 GB, free: 7.926 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.6989, allocations: 3.984 kB / 1.339 GB, free: 7.922 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/0.7161, allocations: 6.739 MB / 1.346 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03411/0.7503, allocations: 6.033 MB / 1.351 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/0.7521, allocations: 243.6 kB / 1.352 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1071/0.8592, allocations: 15.7 MB / 1.367 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003691/0.8596, allocations: 47.89 kB / 1.367 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00738/0.867, allocations: 3.147 MB / 1.37 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.867, allocations: 0 / 1.37 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04073/0.9077, allocations: 9.066 MB / 1.379 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/0.9093, allocations: 495.2 kB / 1.379 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004731/0.9098, allocations: 15.94 kB / 1.379 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0028/0.9126, allocations: 307.5 kB / 1.38 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.9128, allocations: 48.59 kB / 1.38 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/0.913, allocations: 43.95 kB / 1.38 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001432/0.9144, allocations: 0.7645 MB / 1.381 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9145, allocations: 0 / 1.381 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003102/0.9176, allocations: 0.7139 MB / 1.381 GB, free: 12.19 MB / 0.8855 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.0005875/0.9182, allocations: 191 kB / 1.381 GB, free: 12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02164/0.9398, allocations: 6.628 MB / 1.388 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.9399, allocations: 0 / 1.388 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005476/0.9453, allocations: 1.677 MB / 1.39 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.9473, allocations: 267.1 kB / 1.39 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.9575, allocations: 4.311 MB / 1.394 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.959, allocations: 1.322 MB / 1.395 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003885/0.9629, allocations: 0.7923 MB / 1.396 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008076/0.9637, allocations: 119.3 kB / 1.396 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of SimCode: time 2.274e-06/0.9638, allocations: 3.938 kB / 1.396 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of Templates: time 0.6424/1.606, allocations: 62.95 MB / 1.458 GB, free: 185.9 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)