Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 109.4 kB / 15.69 MB, free: 128 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.001547/0.001547, allocations: 188.6 kB / 16.62 MB, free: 6.613 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.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.815/1.815, allocations: 292.3 MB / 0.5489 GB, free: 12.76 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.001449/0.001449, allocations: 74.59 kB / 0.6723 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.241, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.004747/0.2458, allocations: 3.297 MB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.2474, allocations: 0.8959 MB / 0.7882 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.2476, allocations: 8 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.2479, allocations: 63.25 kB / 0.7883 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.2483, allocations: 166.6 kB / 0.7884 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.2487, allocations: 179.8 kB / 0.7886 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006183/0.2493, allocations: 0.6546 MB / 0.7893 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.2498, allocations: 244.1 kB / 0.7895 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.25, allocations: 247.2 kB / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.2504, allocations: 294.8 kB / 0.79 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.561e-05/0.2505, allocations: 52 kB / 0.7901 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.173e-05/0.2506, allocations: 55.94 kB / 0.7901 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2507, allocations: 131.6 kB / 0.7902 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.251, allocations: 274.6 kB / 0.7905 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005369/0.2515, allocations: 0.576 MB / 0.7911 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2515, allocations: 0 / 0.7911 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2515, allocations: 0 / 0.7911 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.2515, allocations: 0 / 0.7911 GB, free: 5.613 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001578/0.2531, allocations: 0.8248 MB / 0.7919 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2532, allocations: 15.97 kB / 0.7919 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.2533, allocations: 56.28 kB / 0.7919 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.2537, allocations: 343.2 kB / 0.7923 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.2538, allocations: 37.38 kB / 0.7923 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.2538, allocations: 40.38 kB / 0.7923 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/0.2546, allocations: 410.6 kB / 0.7927 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2546, allocations: 4 kB / 0.7927 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.2546, allocations: 16 kB / 0.7927 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2546, allocations: 12 kB / 0.7928 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.2553, allocations: 331.8 kB / 0.7931 GB, free: 3.461 MB / 0.6075 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.002241/0.2576, allocations: 1.485 MB / 0.7945 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.2583, allocations: 395 kB / 0.7949 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/0.2587, allocations: 244.7 kB / 0.7951 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.2588, allocations: 4 kB / 0.7951 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.2588, allocations: 38.56 kB / 0.7952 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.683e-06/0.2588, allocations: 0 / 0.7952 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.00773/0.2665, allocations: 1.822 MB / 0.7969 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.2666, allocations: 59.34 kB / 0.797 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.2669, allocations: 353.7 kB / 0.7973 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.267, allocations: 33.7 kB / 0.7974 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.2671, allocations: 212.6 kB / 0.7976 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.2673, allocations: 141.9 kB / 0.7977 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.2674, allocations: 65.7 kB / 0.7978 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2675, allocations: 346.8 kB / 0.7981 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.2678, allocations: 144.8 kB / 0.7982 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.2682, allocations: 209.8 kB / 0.7984 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.2688, allocations: 329.2 kB / 0.7988 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2688, allocations: 0 / 0.7988 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00202/0.2708, allocations: 0.7508 MB / 0.7995 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.2708, allocations: 14.44 kB / 0.7995 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2708, allocations: 0 / 0.7995 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/0.2726, allocations: 454 kB / 0.7999 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.2728, allocations: 27.92 kB / 0.8 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006406/0.2792, allocations: 4.192 MB / 0.8041 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.2796, allocations: 51.62 kB / 0.8041 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.2797, allocations: 12 kB / 0.8041 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003971/0.2801, allocations: 252.7 kB / 0.8044 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003292/0.2804, allocations: 214.2 kB / 0.8046 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005792/0.281, allocations: 316.7 kB / 0.8049 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.281, allocations: 0 / 0.8049 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001888/0.2829, allocations: 0.732 MB / 0.8056 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.2829, allocations: 8 kB / 0.8056 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.2829, allocations: 0 / 0.8056 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.2845, allocations: 429.2 kB / 0.806 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.2846, allocations: 31.97 kB / 0.806 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005606/0.2902, allocations: 4.063 MB / 0.81 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/0.2908, allocations: 47.78 kB / 0.81 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.2908, allocations: 4 kB / 0.81 GB, free: 1.523 MB / 0.6231 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 (12): * Single equations (assignments): 11 * 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 {(6,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.2909, allocations: 200.2 kB / 0.8102 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/0.291, allocations: 43.53 kB / 0.8103 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.2911, allocations: 56.48 kB / 0.8103 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2912, allocations: 4 kB / 0.8103 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2912, allocations: 3.938 kB / 0.8103 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2912, allocations: 3.984 kB / 0.8103 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005651/0.2917, allocations: 0.4941 MB / 0.8108 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2918, allocations: 0 / 0.8108 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2919, allocations: 23.98 kB / 0.8108 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/0.2933, allocations: 400.7 kB / 0.8112 GB, free: 256 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.2934, allocations: 4 kB / 0.8112 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005535/0.2989, allocations: 4.023 MB / 0.8152 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2989, allocations: 4 kB / 0.8152 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.3008, allocations: 0.8071 MB / 0.816 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.301, allocations: 148.5 kB / 0.8161 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.301, allocations: 4 kB / 0.8161 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.3013, allocations: 23.98 kB / 0.8161 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.3014, allocations: 31.95 kB / 0.8162 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.3014, allocations: 16.19 kB / 0.8162 GB, free: 11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002423/0.3017, allocations: 255.2 kB / 0.8164 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3017, allocations: 0 / 0.8164 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008761/0.3026, allocations: 339.4 kB / 0.8167 GB, free: 10.43 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 9 * 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 {(6,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001351/0.3027, allocations: 107.2 kB / 0.8168 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002637/0.3054, allocations: 1.18 MB / 0.818 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3054, allocations: 4 kB / 0.818 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.3064, allocations: 0.5088 MB / 0.8185 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.307, allocations: 120 kB / 0.8186 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3086, allocations: 0.8169 MB / 0.8194 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.309, allocations: 0.8439 MB / 0.8202 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.3092, allocations: 39.27 kB / 0.8203 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.3093, allocations: 23.44 kB / 0.8203 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of SimCode: time 3.91e-07/0.3093, allocations: 0 / 0.8203 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of Templates: time 0.02022/0.3295, allocations: 13.37 MB / 0.8333 GB, free: 9.453 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)