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/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="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TAirRoo.T|sha.glass.1..port_a.T|sha.glass.1..port_b.T|sha.glass.2..port_a.T|sha.glass.2..port_b.T|nonSha.glass.1..port_a.T|nonSha.glass.1..port_b.T|nonSha.glass.2..port_a.T|nonSha.glass.2..port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TAirRoo.T|sha.glass.1..port_a.T|sha.glass.1..port_b.T|sha.glass.2..port_a.T|sha.glass.2..port_b.T|nonSha.glass.1..port_a.T|nonSha.glass.1..port_b.T|nonSha.glass.2..port_a.T|nonSha.glass.2..port_b.T",fileNamePrefix="Buildings_latest_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.001564/0.001564, allocations: 116.8 kB / 16.41 MB, free: 6.387 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.001717/0.001718, allocations: 184.9 kB / 17.34 MB, free: 5.84 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.554/1.554, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.581/2.581, allocations: 472.7 MB / 0.746 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6684/0.6696, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.006121/0.6757, allocations: 5.122 MB / 1.231 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006234/0.682, allocations: 4.676 MB / 1.236 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006131/0.6826, allocations: 8 kB / 1.236 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.6844, allocations: 0.6183 MB / 1.237 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.6855, allocations: 432.8 kB / 1.237 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.6872, allocations: 0.7512 MB / 1.238 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001706/0.6889, allocations: 1.85 MB / 1.239 GB, free: 56 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006646/0.6895, allocations: 0.5584 MB / 1.24 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006502/0.6902, allocations: 0.7162 MB / 1.241 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008222/0.691, allocations: 0.786 MB / 1.241 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.6913, allocations: 151.9 kB / 1.242 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007562/0.692, allocations: 407.8 kB / 1.242 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.6923, allocations: 366.8 kB / 1.242 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.693, allocations: 0.7153 MB / 1.243 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.6949, allocations: 2.145 MB / 1.245 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6949, allocations: 0 / 1.245 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6949, allocations: 0 / 1.245 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.695, allocations: 0 / 1.245 GB, free: 10.19 MB / 0.9669 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.003288/0.6983, allocations: 1.93 MB / 1.247 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.6983, allocations: 12.03 kB / 1.247 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02718/0.7255, allocations: 4.307 MB / 1.251 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0243/0.7498, allocations: 4.552 MB / 1.256 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.7499, allocations: 58.38 kB / 1.256 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004516/0.7504, allocations: 72.38 kB / 1.256 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005959/0.7563, allocations: 2.087 MB / 1.258 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.7564, allocations: 3.938 kB / 1.258 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.7565, allocations: 32 kB / 1.258 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.7565, allocations: 16 kB / 1.258 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00555/0.7621, allocations: 1.795 MB / 1.26 GB, free: 11.19 MB / 0.9825 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.009909/0.772, allocations: 7.358 MB / 1.267 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005292/0.7773, allocations: 1.882 MB / 1.269 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004656/0.782, allocations: 1.576 MB / 1.27 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003748/0.7824, allocations: 396.9 kB / 1.271 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.7824, allocations: 39.12 kB / 1.271 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 2.825e-06/0.7824, allocations: 3.938 kB / 1.271 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.03517/0.8176, allocations: 9.096 MB / 1.28 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.8177, allocations: 59.97 kB / 1.28 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.8193, allocations: 1.06 MB / 1.281 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002913/0.8196, allocations: 37.7 kB / 1.281 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.8201, allocations: 0.4973 MB / 1.281 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.8204, allocations: 249.8 kB / 1.281 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008152/0.8213, allocations: 286.1 kB / 1.282 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.8214, allocations: 341.9 kB / 1.282 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008467/0.8299, allocations: 2.454 MB / 1.284 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008447/0.8383, allocations: 2.573 MB / 1.287 GB, free: 14.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/0.851, allocations: 3.448 MB / 1.29 GB, free: 10.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.851, allocations: 0 / 1.29 GB, free: 10.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02299/0.874, allocations: 6.54 MB / 1.297 GB, free: 4.242 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.8741, allocations: 13.48 kB / 1.297 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01792/0.892, allocations: 5.147 MB / 1.302 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08689/0.9789, allocations: 10.99 MB / 1.312 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/0.9823, allocations: 479.3 kB / 1.313 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007178/0.9895, allocations: 3.111 MB / 1.316 GB, free: 472 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/0.9938, allocations: 0.5068 MB / 1.316 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/0.9941, allocations: 71.92 kB / 1.316 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009111/1.003, allocations: 2.784 MB / 1.319 GB, free: 13.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008394/1.012, allocations: 2.554 MB / 1.322 GB, free: 10.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01233/1.024, allocations: 3.428 MB / 1.325 GB, free: 7.066 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.399e-06/1.024, allocations: 0 / 1.325 GB, free: 7.066 MB / 1.045 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.01938/1.043, allocations: 5.54 MB / 1.33 GB, free: 1.512 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.043, allocations: 4 kB / 1.33 GB, free: 1.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01616/1.06, allocations: 4.772 MB / 1.335 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/1.062, allocations: 0.8043 MB / 1.336 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004185/1.066, allocations: 0.593 MB / 1.336 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.076, allocations: 6.627 MB / 1.343 GB, free: 4.562 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/1.081, allocations: 0.5029 MB / 1.343 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003085/1.081, allocations: 71.92 kB / 1.344 GB, free: 3.988 MB / 1.061 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.0004707/1.081, allocations: 210 kB / 1.344 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/1.082, allocations: 111.2 kB / 1.344 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/1.098, allocations: 4.951 MB / 1.349 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/1.098, allocations: 3.984 kB / 1.349 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03416/1.132, allocations: 6.097 MB / 1.355 GB, free: 8.578 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.133, allocations: 492 kB / 1.355 GB, free: 8.078 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004028/1.133, allocations: 12 kB / 1.355 GB, free: 8.066 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002729/1.136, allocations: 303.5 kB / 1.355 GB, free: 7.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.136, allocations: 40.59 kB / 1.355 GB, free: 7.73 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02034/1.157, allocations: 5.151 MB / 1.36 GB, free: 2.562 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01386/1.171, allocations: 4.622 MB / 1.365 GB, free: 13.91 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004537/1.175, allocations: 1.531 MB / 1.366 GB, free: 12.38 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001153/1.176, allocations: 0.7645 MB / 1.367 GB, free: 11.61 MB / 1.092 GB Notification: Performance of Backend: time 9.92e-07/1.176, allocations: 0 / 1.367 GB, free: 11.61 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01845/1.195, allocations: 5.445 MB / 1.373 GB, free: 6.141 MB / 1.092 GB Notification: Performance of SimCode: time 0.004761/1.2, allocations: 3.259 MB / 1.376 GB, free: 2.828 MB / 1.092 GB Notification: Performance of Templates: time 0.104/1.304, allocations: 79.19 MB / 1.453 GB, free: 3.586 MB / 1.17 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)