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.001129/0.001129, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001397/0.001397, allocations: 198.4 kB / 16.25 MB, free: 6.621 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.439/1.439, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.646/1.646, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001343/0.001343, allocations: 65.11 kB / 0.671 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2069, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.004661/0.2116, allocations: 3.339 MB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.2134, allocations: 0.8929 MB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.2137, allocations: 8 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.214, allocations: 43.62 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.2144, allocations: 150.8 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.2149, allocations: 155.5 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006726/0.2156, allocations: 0.6469 MB / 0.788 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.216, allocations: 244.1 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.2163, allocations: 251.1 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.2167, allocations: 294.8 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.2168, allocations: 52 kB / 0.7888 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.2169, allocations: 52 kB / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.2171, allocations: 123.5 kB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.2173, allocations: 274.7 kB / 0.7892 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004853/0.2178, allocations: 0.5569 MB / 0.7897 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2178, allocations: 4 kB / 0.7897 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2178, allocations: 0 / 0.7897 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.03e-05/0.2178, allocations: 4 kB / 0.7897 GB, free: 6.797 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.001598/0.2194, allocations: 0.8301 MB / 0.7905 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.2195, allocations: 8.031 kB / 0.7906 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.2197, allocations: 60.28 kB / 0.7906 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.2202, allocations: 343.2 kB / 0.7909 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.2202, allocations: 33.38 kB / 0.791 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.2203, allocations: 44.38 kB / 0.791 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.221, allocations: 398.7 kB / 0.7914 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2211, allocations: 4 kB / 0.7914 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.2211, allocations: 16 kB / 0.7914 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2211, allocations: 12 kB / 0.7914 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006466/0.2218, allocations: 339.8 kB / 0.7918 GB, free: 4.645 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.002314/0.2241, allocations: 1.501 MB / 0.7932 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/0.2248, allocations: 390.8 kB / 0.7936 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.2252, allocations: 236.7 kB / 0.7938 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.2253, allocations: 11.98 kB / 0.7938 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2253, allocations: 34.56 kB / 0.7939 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.024e-06/0.2253, allocations: 4 kB / 0.7939 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.007746/0.233, allocations: 1.821 MB / 0.7956 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.2331, allocations: 63.34 kB / 0.7957 GB, free: 444 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.2335, allocations: 345.7 kB / 0.796 GB, free: 92 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.2336, allocations: 37.7 kB / 0.7961 GB, free: 48 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.2338, allocations: 216.6 kB / 0.7963 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.2339, allocations: 138 kB / 0.7964 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.234, allocations: 65.69 kB / 0.7965 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2342, allocations: 346.8 kB / 0.7968 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.2345, allocations: 144.8 kB / 0.7969 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.2348, allocations: 213.8 kB / 0.7971 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.2354, allocations: 317.3 kB / 0.7974 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2354, allocations: 8 kB / 0.7975 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002095/0.2375, allocations: 0.7508 MB / 0.7982 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2375, allocations: 11.94 kB / 0.7982 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2375, allocations: 0 / 0.7982 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/0.2393, allocations: 453.2 kB / 0.7986 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.2395, allocations: 27.92 kB / 0.7987 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006617/0.2461, allocations: 4.222 MB / 0.8028 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.2466, allocations: 47.64 kB / 0.8028 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.2467, allocations: 19.92 kB / 0.8028 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004239/0.2471, allocations: 248.1 kB / 0.8031 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003412/0.2475, allocations: 202.2 kB / 0.8033 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005679/0.248, allocations: 320.7 kB / 0.8036 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.2481, allocations: 0 / 0.8036 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001953/0.25, allocations: 0.7398 MB / 0.8043 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.25, allocations: 4 kB / 0.8043 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.2501, allocations: 0 / 0.8043 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.2516, allocations: 437.2 kB / 0.8047 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.2518, allocations: 20.17 kB / 0.8047 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006033/0.2579, allocations: 4.061 MB / 0.8087 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.2585, allocations: 51.78 kB / 0.8088 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.2585, allocations: 12 kB / 0.8088 GB, free: 2.664 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.0001635/0.2587, allocations: 204.8 kB / 0.809 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.2588, allocations: 39.53 kB / 0.809 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.2589, allocations: 56.48 kB / 0.8091 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.2589, allocations: 8 kB / 0.8091 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.2589, allocations: 0 / 0.8091 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2589, allocations: 0 / 0.8091 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.2595, allocations: 0.4941 MB / 0.8095 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2596, allocations: 4 kB / 0.8095 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2597, allocations: 19.98 kB / 0.8096 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.2612, allocations: 396.7 kB / 0.8099 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.2613, allocations: 12 kB / 0.81 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005908/0.2672, allocations: 4.031 MB / 0.8139 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2672, allocations: 0 / 0.8139 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.2691, allocations: 0.8048 MB / 0.8147 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.2693, allocations: 148.5 kB / 0.8148 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.2694, allocations: 16 kB / 0.8148 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.2697, allocations: 19.89 kB / 0.8149 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.2698, allocations: 39.94 kB / 0.8149 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.2699, allocations: 12 kB / 0.8149 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003191/0.2702, allocations: 251.2 kB / 0.8151 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2702, allocations: 0 / 0.8151 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00114/0.2714, allocations: 339.5 kB / 0.8155 GB, free: 11.56 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.0001762/0.2715, allocations: 107.2 kB / 0.8156 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002857/0.2744, allocations: 1.199 MB / 0.8167 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2744, allocations: 4 kB / 0.8167 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.2755, allocations: 0.5052 MB / 0.8172 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.2761, allocations: 117.2 kB / 0.8173 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.278, allocations: 0.987 MB / 0.8183 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.2784, allocations: 0.8401 MB / 0.8191 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000166/0.2786, allocations: 35.27 kB / 0.8192 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.2786, allocations: 27.44 kB / 0.8192 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.2786, allocations: 0 / 0.8192 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of Templates: time 0.02096/0.2996, allocations: 13.34 MB / 0.8322 GB, free: 10.44 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)