Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.008203/0.008203, allocations: 100.4 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.001445/0.001445, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.513/1.513, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 251.7 MB / 0.5094 GB, free: 3.02 MB / 414.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.001482/0.001482, allocations: 74.08 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2407, allocations: 104.7 MB / 0.8281 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003951/0.2447, allocations: 2.824 MB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004077/0.2488, allocations: 3.011 MB / 0.8338 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.249, allocations: 4 kB / 0.8338 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.2493, allocations: 71.34 kB / 0.8338 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.2498, allocations: 218.5 kB / 0.834 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.2511, allocations: 0.6025 MB / 0.8346 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.2516, allocations: 0.5368 MB / 0.8351 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.2518, allocations: 106.7 kB / 0.8353 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.252, allocations: 191.4 kB / 0.8354 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.2523, allocations: 219.1 kB / 0.8356 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.2523, allocations: 40 kB / 0.8357 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006754/0.253, allocations: 387.6 kB / 0.8361 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.2531, allocations: 87.73 kB / 0.8361 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.2533, allocations: 218.9 kB / 0.8363 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008329/0.2541, allocations: 0.7206 MB / 0.837 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2541, allocations: 0 / 0.837 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2542, allocations: 0 / 0.837 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.954e-06/0.2542, allocations: 0 / 0.837 GB, free: 6.957 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.001101/0.2553, allocations: 0.7595 MB / 0.8378 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2553, allocations: 12.03 kB / 0.8378 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09754/0.3529, allocations: 12.21 MB / 0.8497 GB, free: 9.918 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.3554, allocations: 0.9285 MB / 0.8506 GB, free: 8.945 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.3555, allocations: 16.94 kB / 0.8506 GB, free: 8.926 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005638/0.3561, allocations: 32.38 kB / 0.8507 GB, free: 8.895 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/0.3715, allocations: 3.742 MB / 0.8543 GB, free: 5.145 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3716, allocations: 0 / 0.8543 GB, free: 5.145 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003043/0.3719, allocations: 8 kB / 0.8543 GB, free: 5.137 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.3719, allocations: 8 kB / 0.8543 GB, free: 5.129 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01463/0.3865, allocations: 2.965 MB / 0.8572 GB, free: 2.164 MB / 0.67 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.01761/0.4042, allocations: 17.14 MB / 0.874 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/0.4186, allocations: 2.938 MB / 0.8768 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01463/0.4333, allocations: 2.795 MB / 0.8796 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.4335, allocations: 39.92 kB / 0.8796 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.4335, allocations: 34.56 kB / 0.8796 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=22): time 4.248e-06/0.4335, allocations: 0 / 0.8796 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of matching and sorting (n=22): time 0.04442/0.478, allocations: 8.543 MB / 0.888 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.4781, allocations: 51.41 kB / 0.888 GB, free: 15 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.4785, allocations: 349.7 kB / 0.8884 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005341/0.479, allocations: 29.7 kB / 0.8884 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.4793, allocations: 208.3 kB / 0.8886 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.4796, allocations: 70.86 kB / 0.8887 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.4809, allocations: 480.9 kB / 0.8891 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4811, allocations: 346.8 kB / 0.8895 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02016/0.5013, allocations: 3.889 MB / 0.8932 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02046/0.5217, allocations: 3.93 MB / 0.8971 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03385/0.5556, allocations: 6.211 MB / 0.9032 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.5557, allocations: 0 / 0.9032 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04282/0.5985, allocations: 8.029 MB / 0.911 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.5986, allocations: 7.938 kB / 0.911 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03726/0.6358, allocations: 7.287 MB / 0.9181 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/0.6359, allocations: 4 kB / 0.9181 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4658/1.102, allocations: 1.907 MB / 0.92 GB, free: 91.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.102, allocations: 1.484 kB / 0.92 GB, free: 91.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01407/1.116, allocations: 1.503 MB / 0.9215 GB, free: 91.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001669/1.118, allocations: 209.4 kB / 0.9217 GB, free: 91.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02221/1.14, allocations: 3.987 MB / 0.9255 GB, free: 91.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02089/1.161, allocations: 3.929 MB / 0.9294 GB, free: 90.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03447/1.195, allocations: 6.198 MB / 0.9354 GB, free: 89.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.566e-06/1.195, allocations: 4.859 kB / 0.9354 GB, free: 89.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04121/1.236, allocations: 8.016 MB / 0.9433 GB, free: 87.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.237, allocations: 6.031 kB / 0.9433 GB, free: 87.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0349/1.271, allocations: 7.278 MB / 0.9504 GB, free: 85.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/1.271, allocations: 3.812 kB / 0.9504 GB, free: 85.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01382/1.285, allocations: 1.917 MB / 0.9523 GB, free: 84.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/1.285, allocations: 0 / 0.9523 GB, free: 84.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0128/1.298, allocations: 1.5 MB / 0.9537 GB, free: 82.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005301/1.299, allocations: 204.2 kB / 0.9539 GB, free: 82.54 MB / 0.7325 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.001057/1.3, allocations: 195.7 kB / 0.9541 GB, free: 82.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000472/1.3, allocations: 33.5 kB / 0.9541 GB, free: 82.33 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02955/1.33, allocations: 6.701 MB / 0.9607 GB, free: 75.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.33, allocations: 4 kB / 0.9607 GB, free: 75.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.33, allocations: 3.828 kB / 0.9607 GB, free: 75.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.33, allocations: 3.984 kB / 0.9607 GB, free: 75.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/1.333, allocations: 6.485 MB / 0.967 GB, free: 67.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02759/1.361, allocations: 5.635 MB / 0.9725 GB, free: 62.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01183/1.373, allocations: 1.63 MB / 0.9741 GB, free: 60.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/1.373, allocations: 0 / 0.9741 GB, free: 60.44 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004699/1.373, allocations: 175.5 kB / 0.9743 GB, free: 60.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/1.373, allocations: 0 / 0.9743 GB, free: 60.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.373, allocations: 0 / 0.9743 GB, free: 60.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02737/1.401, allocations: 5.771 MB / 0.9799 GB, free: 54.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.402, allocations: 0.5567 MB / 0.9805 GB, free: 53.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/1.402, allocations: 11.98 kB / 0.9805 GB, free: 53.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01105/1.413, allocations: 1.253 MB / 0.9817 GB, free: 52.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.413, allocations: 43.89 kB / 0.9817 GB, free: 52.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004403/1.414, allocations: 179.5 kB / 0.9819 GB, free: 52.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002003/1.414, allocations: 239.2 kB / 0.9821 GB, free: 52.19 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/1.414, allocations: 0 / 0.9821 GB, free: 52.19 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002639/1.417, allocations: 0.5935 MB / 0.9827 GB, free: 51.61 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.0005409/1.417, allocations: 170.2 kB / 0.9829 GB, free: 51.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.04924/1.466, allocations: 10.29 MB / 0.9929 GB, free: 41.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.467, allocations: 0 / 0.9929 GB, free: 41.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01387/1.48, allocations: 2.913 MB / 0.9958 GB, free: 38.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/1.481, allocations: 82.88 kB / 0.9959 GB, free: 38.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/1.496, allocations: 3.243 MB / 0.999 GB, free: 34.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/1.496, allocations: 0.7923 MB / 0.9998 GB, free: 34.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00804/1.504, allocations: 1.633 MB / 1.001 GB, free: 32.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002593/1.506, allocations: 0.4982 MB / 1.002 GB, free: 31.96 MB / 0.7325 GB Notification: Performance of SimCode: time 1.182e-06/1.506, allocations: 0 / 1.002 GB, free: 31.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.109/1.615, allocations: 84.81 MB / 1.085 GB, free: 10.91 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)