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.006515/0.006515, allocations: 105.2 kB / 15.74 MB, free: 5.996 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.001224/0.001224, allocations: 197 kB / 16.67 MB, free: 5.918 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.483/1.483, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.6471/0.6471, 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.001597/0.001597, allocations: 78.09 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1823, 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.004132/0.1865, allocations: 2.813 MB / 0.5738 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004018/0.1906, allocations: 2.891 MB / 0.5767 GB, free: 2.562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.1908, allocations: 4 kB / 0.5767 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.1911, allocations: 71.34 kB / 0.5767 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.1917, allocations: 210.5 kB / 0.5769 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.193, allocations: 0.5643 MB / 0.5775 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000633/0.1936, allocations: 0.5173 MB / 0.578 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.1938, allocations: 106.7 kB / 0.5781 GB, free: 1.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.1941, allocations: 191.4 kB / 0.5783 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.1943, allocations: 215.1 kB / 0.5785 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.1944, allocations: 40 kB / 0.5785 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007034/0.1951, allocations: 363.7 kB / 0.5789 GB, free: 296 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.1952, allocations: 83.73 kB / 0.579 GB, free: 212 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.1954, allocations: 219 kB / 0.5792 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008537/0.1962, allocations: 0.7009 MB / 0.5798 GB, free: 15.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1963, allocations: 4 kB / 0.5799 GB, free: 15.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1963, allocations: 0 / 0.5799 GB, free: 15.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1963, allocations: 0 / 0.5799 GB, free: 15.29 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.00122/0.1975, allocations: 0.7479 MB / 0.5806 GB, free: 14.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1976, allocations: 11.98 kB / 0.5806 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00739/0.205, allocations: 1.046 MB / 0.5816 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008386/0.2058, allocations: 463.7 kB / 0.5821 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.2059, allocations: 28.5 kB / 0.5821 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.206, allocations: 27.94 kB / 0.5821 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.2074, allocations: 0.7695 MB / 0.5829 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2074, allocations: 0 / 0.5829 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.654e-05/0.2075, allocations: 12 kB / 0.5829 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.2075, allocations: 4 kB / 0.5829 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.2086, allocations: 0.6033 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.003433/0.212, allocations: 2.421 MB / 0.5858 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009037/0.2129, allocations: 0.5646 MB / 0.5864 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/0.2137, allocations: 432.6 kB / 0.5868 GB, free: 7.914 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.2138, allocations: 35.92 kB / 0.5868 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2138, allocations: 30.56 kB / 0.5869 GB, free: 7.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.984e-06/0.2138, allocations: 0 / 0.5869 GB, free: 7.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.002603/0.2164, allocations: 1.377 MB / 0.5882 GB, free: 6.457 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.2165, allocations: 59.34 kB / 0.5883 GB, free: 6.387 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.2169, allocations: 345.8 kB / 0.5886 GB, free: 6.039 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.055e-05/0.217, allocations: 29.7 kB / 0.5886 GB, free: 6.004 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.2172, allocations: 192.4 kB / 0.5888 GB, free: 5.809 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.2173, allocations: 78.84 kB / 0.5889 GB, free: 5.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/0.2178, allocations: 169.6 kB / 0.589 GB, free: 5.559 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.218, allocations: 354.7 kB / 0.5894 GB, free: 5.203 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000962/0.219, allocations: 0.6145 MB / 0.59 GB, free: 4.586 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.2201, allocations: 0.6101 MB / 0.5906 GB, free: 3.977 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.2219, allocations: 1.067 MB / 0.5916 GB, free: 2.906 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.222, allocations: 0 / 0.5916 GB, free: 2.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00257/0.2245, allocations: 1.457 MB / 0.593 GB, free: 1.441 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.2246, allocations: 4 kB / 0.593 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002206/0.2268, allocations: 1.319 MB / 0.5943 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.2268, allocations: 0 / 0.5943 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.2284, allocations: 215.6 kB / 0.5945 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2284, allocations: 0 / 0.5945 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.2296, allocations: 71.66 kB / 0.5946 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.2297, allocations: 63.86 kB / 0.5947 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001131/0.2309, allocations: 0.7146 MB / 0.5954 GB, free: 15.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009719/0.2318, allocations: 0.609 MB / 0.596 GB, free: 14.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001779/0.2336, allocations: 1.051 MB / 0.597 GB, free: 13.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.2336, allocations: 0 / 0.597 GB, free: 13.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.002484/0.2361, allocations: 1.449 MB / 0.5984 GB, free: 11.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2362, allocations: 4 kB / 0.5984 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00222/0.2384, allocations: 1.308 MB / 0.5997 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.2384, allocations: 3.938 kB / 0.5997 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.2399, allocations: 215.6 kB / 0.5999 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2399, allocations: 0 / 0.5999 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.241, allocations: 63.81 kB / 0.6 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.2411, allocations: 63.86 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.0003725/0.2415, allocations: 192.1 kB / 0.6002 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.2417, allocations: 35.53 kB / 0.6002 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.2442, allocations: 1.234 MB / 0.6014 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.2442, allocations: 4 kB / 0.6014 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2442, allocations: 0 / 0.6014 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.2442, allocations: 7.938 kB / 0.6014 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.2453, allocations: 0.9514 MB / 0.6024 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001659/0.247, allocations: 0.8764 MB / 0.6032 GB, free: 6.898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.2483, allocations: 191.6 kB / 0.6034 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.2483, allocations: 8 kB / 0.6034 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-05/0.2484, allocations: 51.86 kB / 0.6035 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.2484, allocations: 4 kB / 0.6035 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2484, allocations: 4 kB / 0.6035 GB, free: 6.645 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.2502, allocations: 1.033 MB / 0.6045 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/0.2521, allocations: 1.099 MB / 0.6056 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.2523, allocations: 8 kB / 0.6056 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.2533, allocations: 47.97 kB / 0.6056 GB, free: 4.414 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.2535, allocations: 75.59 kB / 0.6057 GB, free: 4.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.2536, allocations: 55.81 kB / 0.6057 GB, free: 4.285 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.2539, allocations: 239.2 kB / 0.606 GB, free: 4.055 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2539, allocations: 0 / 0.606 GB, free: 4.055 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009533/0.2548, allocations: 271.7 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.0003118/0.2551, allocations: 167.1 kB / 0.6064 GB, free: 3.617 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002704/0.2579, allocations: 1.679 MB / 0.608 GB, free: 1.938 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2579, allocations: 0 / 0.608 GB, free: 1.938 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000769/0.2587, 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.000568/0.2592, 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.001574/0.2608, allocations: 0.895 MB / 0.6094 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.2612, allocations: 0.7962 MB / 0.6102 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001767/0.263, allocations: 466.6 kB / 0.6106 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/0.2636, allocations: 179.1 kB / 0.6108 GB, free: 15.07 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2636, allocations: 0 / 0.6108 GB, free: 15.07 MB / 494.1 MB Notification: Performance of Templates: time 0.3381/0.6017, allocations: 22.27 MB / 0.6325 GB, free: 52.94 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)