Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008432/0.008432, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.001739/0.00174, allocations: 196.1 kB / 16.68 MB, free: 5.957 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6341/0.6341, allocations: 95.47 MB / 365.4 MB, free: 9.766 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 74.09 kB / 0.5036 GB, free: 13.56 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2017, allocations: 69.08 MB / 0.5711 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004403/0.2062, allocations: 2.817 MB / 0.5739 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004488/0.2107, allocations: 2.887 MB / 0.5767 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.211, allocations: 4 kB / 0.5767 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.2114, allocations: 75.28 kB / 0.5767 GB, free: 2.598 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000618/0.212, allocations: 210.6 kB / 0.5769 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.2136, allocations: 0.5643 MB / 0.5775 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007099/0.2143, allocations: 0.5212 MB / 0.578 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.2146, allocations: 106.7 kB / 0.5781 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.2148, allocations: 191.3 kB / 0.5783 GB, free: 1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.2151, allocations: 219.1 kB / 0.5785 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.2151, allocations: 36 kB / 0.5785 GB, free: 0.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007819/0.2159, allocations: 363.7 kB / 0.5789 GB, free: 404 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.216, allocations: 87.73 kB / 0.579 GB, free: 316 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.2162, allocations: 210.9 kB / 0.5792 GB, free: 104 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009005/0.2171, allocations: 0.705 MB / 0.5799 GB, free: 15.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2171, allocations: 0 / 0.5799 GB, free: 15.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2171, allocations: 0 / 0.5799 GB, free: 15.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.2171, allocations: 0 / 0.5799 GB, free: 15.39 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001263/0.2184, allocations: 0.7557 MB / 0.5806 GB, free: 14.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.2185, allocations: 11.98 kB / 0.5806 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006896/0.2254, allocations: 1.042 MB / 0.5816 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.2264, allocations: 471.7 kB / 0.5821 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.2265, allocations: 20.5 kB / 0.5821 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.2266, allocations: 28 kB / 0.5821 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.228, allocations: 0.7617 MB / 0.5829 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.228, allocations: 0 / 0.5829 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/0.2281, allocations: 12 kB / 0.5829 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2281, allocations: 8 kB / 0.5829 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.2291, allocations: 0.6034 MB / 0.5835 GB, free: 11.6 MB / 462.1 MB 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.00498/0.2341, allocations: 2.421 MB / 0.5858 GB, free: 9.023 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.2356, allocations: 0.5646 MB / 0.5864 GB, free: 8.449 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.2367, allocations: 424.6 kB / 0.5868 GB, free: 8.031 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.2369, allocations: 35.92 kB / 0.5868 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.2369, allocations: 38.5 kB / 0.5869 GB, free: 7.949 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 4.118e-06/0.237, allocations: 0 / 0.5869 GB, free: 7.949 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.004462/0.2414, allocations: 1.377 MB / 0.5882 GB, free: 6.566 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.2415, allocations: 51.41 kB / 0.5883 GB, free: 6.504 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005682/0.2421, allocations: 345.8 kB / 0.5886 GB, free: 6.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.2422, allocations: 25.7 kB / 0.5886 GB, free: 6.125 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.2425, allocations: 200.4 kB / 0.5888 GB, free: 5.922 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.2427, allocations: 82.78 kB / 0.5889 GB, free: 5.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006339/0.2433, allocations: 173.6 kB / 0.589 GB, free: 5.664 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.2436, allocations: 350.7 kB / 0.5894 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.2451, allocations: 0.6105 MB / 0.59 GB, free: 4.699 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.2467, allocations: 0.6178 MB / 0.5906 GB, free: 4.082 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/0.2495, allocations: 1.056 MB / 0.5916 GB, free: 3.023 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.2495, allocations: 4 kB / 0.5916 GB, free: 3.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.004155/0.2537, allocations: 1.457 MB / 0.593 GB, free: 1.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.2537, allocations: 4 kB / 0.593 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003478/0.2572, allocations: 1.316 MB / 0.5943 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/0.2573, allocations: 4 kB / 0.5943 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/0.2594, allocations: 211.7 kB / 0.5945 GB, free: 24 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.2594, allocations: 3.938 kB / 0.5945 GB, free: 20 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.261, allocations: 79.64 kB / 0.5946 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.2612, allocations: 59.86 kB / 0.5947 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001627/0.2628, allocations: 0.7146 MB / 0.5954 GB, free: 15.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001464/0.2643, allocations: 0.6051 MB / 0.596 GB, free: 14.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002894/0.2672, allocations: 1.059 MB / 0.597 GB, free: 13.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.2673, allocations: 0 / 0.597 GB, free: 13.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.003653/0.2709, allocations: 1.441 MB / 0.5984 GB, free: 12.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.271, allocations: 8 kB / 0.5984 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002966/0.2739, allocations: 1.308 MB / 0.5997 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.274, allocations: 0 / 0.5997 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.2758, allocations: 215.6 kB / 0.5999 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.2758, allocations: 0 / 0.5999 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.2771, allocations: 67.8 kB / 0.6 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.2772, allocations: 67.86 kB / 0.6 GB, free: 10.39 MB / 478.1 MB 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005276/0.2778, allocations: 188.1 kB / 0.6002 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.278, allocations: 35.53 kB / 0.6002 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.2809, allocations: 1.219 MB / 0.6014 GB, free: 8.938 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.281, allocations: 4 kB / 0.6014 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.281, allocations: 7.922 kB / 0.6014 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.281, allocations: 3.938 kB / 0.6014 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.2822, allocations: 0.9475 MB / 0.6024 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001791/0.284, allocations: 0.8919 MB / 0.6032 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.2853, allocations: 195.6 kB / 0.6034 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.2853, allocations: 0 / 0.6034 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.2854, allocations: 51.88 kB / 0.6035 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.2854, allocations: 4 kB / 0.6035 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2854, allocations: 4 kB / 0.6035 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.2875, allocations: 1.033 MB / 0.6045 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/0.29, allocations: 1.099 MB / 0.6056 GB, free: 4.582 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.2902, allocations: 4 kB / 0.6056 GB, free: 4.578 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009865/0.2912, allocations: 55.95 kB / 0.6056 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.2914, allocations: 67.61 kB / 0.6057 GB, free: 4.457 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.2916, allocations: 63.8 kB / 0.6057 GB, free: 4.395 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003246/0.2919, allocations: 243.2 kB / 0.606 GB, free: 4.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2919, allocations: 0 / 0.606 GB, free: 4.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001439/0.2934, allocations: 263.7 kB / 0.6062 GB, free: 3.902 MB / 478.1 MB 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004762/0.2938, allocations: 171.1 kB / 0.6064 GB, free: 3.727 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003882/0.2977, allocations: 1.679 MB / 0.608 GB, free: 2.047 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.2978, allocations: 0 / 0.608 GB, free: 2.047 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009289/0.2987, allocations: 416.2 kB / 0.6084 GB, free: 1.641 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.2994, allocations: 85.45 kB / 0.6085 GB, free: 1.559 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.3014, allocations: 0.8878 MB / 0.6094 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.3019, allocations: 0.7962 MB / 0.6102 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002298/0.3043, allocations: 462.6 kB / 0.6106 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007289/0.305, allocations: 167.1 kB / 0.6108 GB, free: 15.2 MB / 494.1 MB Notification: Performance of SimCode: time 4.538e-06/0.305, allocations: 4 kB / 0.6108 GB, free: 15.2 MB / 494.1 MB Notification: Performance of Templates: time 0.4023/0.7073, allocations: 22.29 MB / 0.6325 GB, free: 52.35 MB / 494.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)