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.01158/0.01159, allocations: 100.7 kB / 15.73 MB, free: 6.008 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.001817/0.001817, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.6151/0.6151, allocations: 95.47 MB / 365.4 MB, free: 9.789 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.001527/0.001527, allocations: 70.09 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1873, allocations: 69.09 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004369/0.1918, allocations: 2.82 MB / 0.5739 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004751/0.1965, allocations: 2.891 MB / 0.5767 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.1969, allocations: 4 kB / 0.5767 GB, free: 2.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.1972, allocations: 75.34 kB / 0.5767 GB, free: 2.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006826/0.1979, allocations: 218.5 kB / 0.577 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.1996, allocations: 0.5562 MB / 0.5775 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006803/0.2003, allocations: 0.5212 MB / 0.578 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.2005, allocations: 106.7 kB / 0.5781 GB, free: 1.074 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.2007, allocations: 183.4 kB / 0.5783 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.201, allocations: 223 kB / 0.5785 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.375e-05/0.201, allocations: 40 kB / 0.5785 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009297/0.202, allocations: 359.7 kB / 0.5789 GB, free: 292 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-05/0.2021, allocations: 79.75 kB / 0.579 GB, free: 212 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.2024, allocations: 219 kB / 0.5792 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009759/0.2033, allocations: 0.7048 MB / 0.5799 GB, free: 15.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.2034, allocations: 3.984 kB / 0.5799 GB, free: 15.28 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2034, allocations: 0 / 0.5799 GB, free: 15.28 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.2034, allocations: 0 / 0.5799 GB, free: 15.28 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.001302/0.2047, allocations: 0.7479 MB / 0.5806 GB, free: 14.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2048, allocations: 11.98 kB / 0.5806 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007173/0.2119, allocations: 1.046 MB / 0.5816 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/0.2129, allocations: 463.8 kB / 0.5821 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.2131, allocations: 24.5 kB / 0.5821 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.2132, allocations: 24 kB / 0.5821 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.2146, allocations: 0.7655 MB / 0.5829 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2146, allocations: 3.938 kB / 0.5829 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/0.2147, allocations: 16 kB / 0.5829 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.2148, allocations: 8 kB / 0.5829 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.2159, allocations: 0.5995 MB / 0.5835 GB, free: 11.49 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.003637/0.2195, allocations: 2.421 MB / 0.5858 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000994/0.2205, allocations: 0.5608 MB / 0.5864 GB, free: 8.344 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/0.2213, allocations: 428.6 kB / 0.5868 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.2214, allocations: 35.92 kB / 0.5868 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.2214, allocations: 30.56 kB / 0.5869 GB, free: 7.848 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 3.266e-06/0.2215, allocations: 0 / 0.5869 GB, free: 7.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.002953/0.2244, allocations: 1.381 MB / 0.5882 GB, free: 6.461 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.2245, allocations: 55.41 kB / 0.5883 GB, free: 6.395 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.2249, allocations: 345.8 kB / 0.5886 GB, free: 6.047 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/0.225, allocations: 25.7 kB / 0.5886 GB, free: 6.016 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.2251, allocations: 196.4 kB / 0.5888 GB, free: 5.816 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.2252, allocations: 78.86 kB / 0.5889 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.2256, allocations: 177.6 kB / 0.589 GB, free: 5.559 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2258, allocations: 350.7 kB / 0.5894 GB, free: 5.207 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009882/0.2268, allocations: 0.6105 MB / 0.59 GB, free: 4.594 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.2278, allocations: 0.614 MB / 0.5906 GB, free: 3.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/0.2298, allocations: 1.059 MB / 0.5916 GB, free: 2.918 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2298, allocations: 4 kB / 0.5916 GB, free: 2.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002796/0.2326, allocations: 1.457 MB / 0.593 GB, free: 1.449 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.2327, allocations: 8 kB / 0.593 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002347/0.235, allocations: 1.312 MB / 0.5943 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.2351, allocations: 3.984 kB / 0.5943 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.2365, allocations: 215.7 kB / 0.5945 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.2366, allocations: 7.984 kB / 0.5945 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.2377, allocations: 75.58 kB / 0.5946 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.2378, allocations: 67.86 kB / 0.5947 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001174/0.239, allocations: 0.7107 MB / 0.5954 GB, free: 15.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001038/0.24, allocations: 0.6051 MB / 0.596 GB, free: 14.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001848/0.2419, allocations: 1.055 MB / 0.597 GB, free: 13.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.866e-06/0.2419, allocations: 4 kB / 0.597 GB, free: 13.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.002582/0.2445, allocations: 1.449 MB / 0.5984 GB, free: 11.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2445, allocations: 4.938 kB / 0.5984 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002263/0.2468, allocations: 1.304 MB / 0.5997 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.595e-06/0.2468, allocations: 4 kB / 0.5997 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.2483, allocations: 207.6 kB / 0.5999 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2483, allocations: 7.938 kB / 0.5999 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.2494, allocations: 67.8 kB / 0.6 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.2495, allocations: 59.88 kB / 0.6 GB, free: 10.28 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.0004259/0.25, allocations: 196.1 kB / 0.6002 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.2502, allocations: 35.53 kB / 0.6002 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/0.2529, allocations: 1.226 MB / 0.6014 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2529, allocations: 0 / 0.6014 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.2529, allocations: 4 kB / 0.6014 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2529, allocations: 7.922 kB / 0.6014 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.2541, allocations: 0.9514 MB / 0.6024 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001707/0.2558, allocations: 0.8802 MB / 0.6032 GB, free: 6.895 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.257, allocations: 191.6 kB / 0.6034 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.257, allocations: 4 kB / 0.6034 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.742e-05/0.2571, allocations: 47.88 kB / 0.6035 GB, free: 6.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.2571, allocations: 4 kB / 0.6035 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2571, allocations: 0 / 0.6035 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.2591, allocations: 1.037 MB / 0.6045 GB, free: 5.598 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/0.2613, allocations: 1.095 MB / 0.6056 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.2615, allocations: 12 kB / 0.6056 GB, free: 4.465 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009317/0.2624, allocations: 43.97 kB / 0.6056 GB, free: 4.422 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.2627, allocations: 75.59 kB / 0.6057 GB, free: 4.348 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.2628, allocations: 59.81 kB / 0.6057 GB, free: 4.289 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002806/0.2631, allocations: 239.2 kB / 0.606 GB, free: 4.059 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.234e-06/0.2631, allocations: 0 / 0.606 GB, free: 4.059 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001131/0.2642, allocations: 275.6 kB / 0.6062 GB, free: 3.789 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.000391/0.2646, allocations: 163.1 kB / 0.6064 GB, free: 3.621 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003018/0.2676, allocations: 1.683 MB / 0.608 GB, free: 1.938 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2677, allocations: 0 / 0.608 GB, free: 1.938 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008276/0.2685, allocations: 420.2 kB / 0.6084 GB, free: 1.527 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.2691, allocations: 81.45 kB / 0.6085 GB, free: 1.449 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.2707, allocations: 0.8956 MB / 0.6094 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.2711, allocations: 0.7923 MB / 0.6102 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001843/0.2729, allocations: 466.7 kB / 0.6106 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006585/0.2736, allocations: 171.1 kB / 0.6108 GB, free: 15.08 MB / 494.1 MB Notification: Performance of SimCode: time 2.094e-06/0.2736, allocations: 0 / 0.6108 GB, free: 15.08 MB / 494.1 MB Notification: Performance of Templates: time 0.4435/0.7172, allocations: 21.77 MB / 0.632 GB, free: 52.2 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)