Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001136/0.001136, allocations: 107.9 kB / 16.29 MB, free: 6.43 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.001139/0.001139, allocations: 184 kB / 17.22 MB, free: 5.934 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.409/1.409, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.838/1.838, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001612/0.001612, allocations: 75.88 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2447, allocations: 114.6 MB / 0.7841 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004143/0.2489, allocations: 2.816 MB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.401/0.6499, allocations: 2.977 MB / 0.7897 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.6501, allocations: 3.094 kB / 0.7897 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.6504, allocations: 83.81 kB / 0.7898 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004355/0.6508, allocations: 206 kB / 0.79 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.6519, allocations: 0.6076 MB / 0.7906 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.6524, allocations: 0.5345 MB / 0.7911 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.6526, allocations: 112.8 kB / 0.7912 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.6527, allocations: 187.8 kB / 0.7914 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.6529, allocations: 221.2 kB / 0.7916 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/0.653, allocations: 36.75 kB / 0.7917 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.6536, allocations: 386.3 kB / 0.792 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.6537, allocations: 92.19 kB / 0.7921 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.6538, allocations: 219.9 kB / 0.7923 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006764/0.6545, allocations: 0.7272 MB / 0.793 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6545, allocations: 0 / 0.793 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6545, allocations: 0.5 kB / 0.793 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.6546, allocations: 5.188 kB / 0.7931 GB, free: 45.59 MB / 0.6544 GB 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.0008708/0.6554, allocations: 0.7404 MB / 0.7938 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.6555, allocations: 10.47 kB / 0.7938 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09216/0.7476, allocations: 12.21 MB / 0.8057 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.7498, allocations: 0.933 MB / 0.8066 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.7499, allocations: 17.56 kB / 0.8066 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004781/0.7504, allocations: 28.16 kB / 0.8067 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01667/0.7671, allocations: 3.733 MB / 0.8103 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.7671, allocations: 7.031 kB / 0.8103 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.7674, allocations: 11.78 kB / 0.8103 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.7674, allocations: 10.12 kB / 0.8103 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.7819, allocations: 2.971 MB / 0.8132 GB, free: 43.61 MB / 0.6544 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.01265/0.7946, allocations: 17.15 MB / 0.83 GB, free: 25.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/0.8082, allocations: 2.936 MB / 0.8328 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01277/0.821, allocations: 2.794 MB / 0.8356 GB, free: 23.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.8211, allocations: 34.42 kB / 0.8356 GB, free: 23.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.8211, allocations: 37.81 kB / 0.8356 GB, free: 23.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.304e-06/0.8211, allocations: 0 / 0.8356 GB, free: 23.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.04115/0.8623, allocations: 8.545 MB / 0.844 GB, free: 20.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.8624, allocations: 57.44 kB / 0.844 GB, free: 19.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.8628, allocations: 340.8 kB / 0.8444 GB, free: 19.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006973/0.8635, allocations: 31.27 kB / 0.8444 GB, free: 19.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.8637, allocations: 198.8 kB / 0.8446 GB, free: 19.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.8642, allocations: 74.2 kB / 0.8447 GB, free: 19.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001707/0.8659, allocations: 485.1 kB / 0.8451 GB, free: 19.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.866, allocations: 343.5 kB / 0.8454 GB, free: 18.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01847/0.8844, allocations: 3.896 MB / 0.8493 GB, free: 17.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01848/0.903, allocations: 3.934 MB / 0.8531 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02927/0.9323, allocations: 6.201 MB / 0.8592 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.9323, allocations: 0 / 0.8592 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03856/0.9709, allocations: 8.04 MB / 0.867 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.9709, allocations: 8.781 kB / 0.867 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0353/1.006, allocations: 7.284 MB / 0.8741 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/1.006, allocations: 5.5 kB / 0.8741 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01448/1.021, allocations: 1.921 MB / 0.876 GB, free: 8.871 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/1.021, allocations: 0 / 0.876 GB, free: 8.871 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01268/1.034, allocations: 1.51 MB / 0.8775 GB, free: 7.359 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009518/1.035, allocations: 203.5 kB / 0.8777 GB, free: 7.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01912/1.054, allocations: 3.985 MB / 0.8816 GB, free: 3.164 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01888/1.073, allocations: 3.935 MB / 0.8854 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03174/1.104, allocations: 6.189 MB / 0.8915 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/1.104, allocations: 0 / 0.8915 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03977/1.144, allocations: 8.025 MB / 0.8993 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.144, allocations: 4 kB / 0.8993 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03538/1.18, allocations: 7.283 MB / 0.9064 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.18, allocations: 0 / 0.9064 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0141/1.194, allocations: 1.915 MB / 0.9083 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.194, allocations: 0.625 kB / 0.9083 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/1.206, allocations: 1.502 MB / 0.9097 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000973/1.207, allocations: 200.3 kB / 0.9099 GB, free: 6.086 MB / 0.7012 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 (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.001325/1.209, allocations: 203 kB / 0.9101 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008251/1.209, allocations: 31.62 kB / 0.9102 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03122/1.241, allocations: 6.7 MB / 0.9167 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.241, allocations: 5.266 kB / 0.9167 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.241, allocations: 0 / 0.9167 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.241, allocations: 1.688 kB / 0.9167 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005835/1.247, allocations: 6.493 MB / 0.923 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02818/1.275, allocations: 5.63 MB / 0.9285 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01211/1.287, allocations: 1.633 MB / 0.9301 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/1.287, allocations: 0 / 0.9301 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007389/1.288, allocations: 171.6 kB / 0.9303 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/1.288, allocations: 7.984 kB / 0.9303 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.288, allocations: 0 / 0.9303 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02822/1.316, allocations: 5.771 MB / 0.9359 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.317, allocations: 0.5622 MB / 0.9365 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006904/1.318, allocations: 8 kB / 0.9365 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01087/1.329, allocations: 1.257 MB / 0.9377 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/1.329, allocations: 41.84 kB / 0.9378 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008045/1.33, allocations: 179.5 kB / 0.9379 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003231/1.33, allocations: 231.2 kB / 0.9382 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/1.331, allocations: 6.062 kB / 0.9382 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003151/1.334, allocations: 0.5895 MB / 0.9387 GB, free: 7.133 MB / 0.7325 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 (34): * Single equations (assignments): 34 * 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.0008327/1.335, allocations: 172.6 kB / 0.9389 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.05075/1.385, allocations: 10.29 MB / 0.949 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.385, allocations: 0 / 0.949 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01446/1.4, allocations: 2.907 MB / 0.9518 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/1.402, allocations: 90 kB / 0.9519 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.416, allocations: 3.225 MB / 0.955 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/1.416, allocations: 0.7962 MB / 0.9558 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.009671/1.426, allocations: 1.637 MB / 0.9574 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00319/1.429, allocations: 0.4943 MB / 0.9579 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of SimCode: time 2.284e-06/1.429, allocations: 0 / 0.9579 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of Templates: time 0.1286/1.558, allocations: 84.78 MB / 1.041 GB, free: 14.61 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)