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.001449/0.001449, allocations: 101.6 kB / 16.27 MB, free: 5.852 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.001819/0.001819, allocations: 188.7 kB / 17.19 MB, free: 5.5 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.401/1.401, allocations: 205.1 MB / 223.1 MB, free: 12.27 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.859/1.859, 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.002134/0.002134, allocations: 71.19 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2631, allocations: 114.6 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004526/0.2677, allocations: 2.827 MB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.482/0.7498, allocations: 2.969 MB / 0.7897 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.75, allocations: 3.219 kB / 0.7897 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.7504, allocations: 82.88 kB / 0.7898 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005707/0.751, allocations: 211.5 kB / 0.79 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.7528, allocations: 0.6048 MB / 0.7906 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007669/0.7536, allocations: 0.5351 MB / 0.7911 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.7538, allocations: 109.8 kB / 0.7912 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.754, allocations: 191.6 kB / 0.7914 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.7542, allocations: 215 kB / 0.7916 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.7543, allocations: 37.28 kB / 0.7916 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008791/0.7552, allocations: 393.3 kB / 0.792 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.44e-05/0.7553, allocations: 90.52 kB / 0.7921 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.7555, allocations: 216.6 kB / 0.7923 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009522/0.7565, allocations: 0.7171 MB / 0.793 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.7565, allocations: 3.938 kB / 0.793 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7565, allocations: 3.531 kB / 0.793 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.7565, allocations: 1 kB / 0.793 GB, free: 46.05 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.001259/0.7578, allocations: 0.7488 MB / 0.7937 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.717e-05/0.7579, allocations: 6.844 kB / 0.7937 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1022/0.8601, allocations: 12.21 MB / 0.8057 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.8626, allocations: 0.9315 MB / 0.8066 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.8627, allocations: 19.38 kB / 0.8066 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004973/0.8632, allocations: 29.06 kB / 0.8066 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/0.8808, allocations: 3.735 MB / 0.8103 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.8809, allocations: 4.547 kB / 0.8103 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/0.8812, allocations: 10 kB / 0.8103 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.8812, allocations: 12.55 kB / 0.8103 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.8965, allocations: 2.963 MB / 0.8132 GB, free: 43.77 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.01381/0.9104, allocations: 17.15 MB / 0.8299 GB, free: 25.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01504/0.9255, allocations: 2.944 MB / 0.8328 GB, free: 25.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01469/0.9402, allocations: 2.79 MB / 0.8355 GB, free: 23.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.9404, allocations: 31.11 kB / 0.8356 GB, free: 23.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.9405, allocations: 34.53 kB / 0.8356 GB, free: 23.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.424e-06/0.9405, allocations: 0 / 0.8356 GB, free: 23.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.04716/0.9876, allocations: 8.551 MB / 0.8439 GB, free: 20.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.9877, allocations: 53.56 kB / 0.844 GB, free: 20.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.9882, allocations: 340.5 kB / 0.8443 GB, free: 19.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0009149/0.9891, allocations: 31.02 kB / 0.8443 GB, free: 19.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.9894, allocations: 204.3 kB / 0.8445 GB, free: 19.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006813/0.9901, allocations: 68.83 kB / 0.8446 GB, free: 19.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002318/0.9924, allocations: 480.9 kB / 0.8451 GB, free: 19.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.9925, allocations: 352.7 kB / 0.8454 GB, free: 18.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02045/1.013, allocations: 3.892 MB / 0.8492 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02062/1.034, allocations: 3.929 MB / 0.853 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03255/1.066, allocations: 6.21 MB / 0.8591 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.066, allocations: 0 / 0.8591 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04031/1.107, allocations: 8.047 MB / 0.867 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.107, allocations: 4.781 kB / 0.867 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03748/1.144, allocations: 7.28 MB / 0.8741 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.642e-05/1.144, allocations: 4 kB / 0.8741 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01509/1.159, allocations: 1.913 MB / 0.8759 GB, free: 9.035 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/1.159, allocations: 3.984 kB / 0.8759 GB, free: 9.031 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01382/1.173, allocations: 1.514 MB / 0.8774 GB, free: 7.516 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.174, allocations: 207.5 kB / 0.8776 GB, free: 7.312 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02091/1.195, allocations: 3.981 MB / 0.8815 GB, free: 3.32 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02061/1.216, allocations: 3.934 MB / 0.8854 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03409/1.25, allocations: 6.193 MB / 0.8914 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/1.25, allocations: 0 / 0.8914 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0436/1.294, allocations: 8.025 MB / 0.8992 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.294, allocations: 4 kB / 0.8992 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04107/1.335, allocations: 7.278 MB / 0.9064 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.335, allocations: 3.938 kB / 0.9064 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01547/1.35, allocations: 1.919 MB / 0.9082 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/1.35, allocations: 2.625 kB / 0.9082 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01432/1.365, allocations: 1.498 MB / 0.9097 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/1.366, allocations: 206.2 kB / 0.9099 GB, free: 6.234 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.001808/1.368, allocations: 198.8 kB / 0.9101 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.369, allocations: 31.62 kB / 0.9101 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03527/1.404, allocations: 6.699 MB / 0.9167 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/1.404, allocations: 4 kB / 0.9167 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.404, allocations: 0 / 0.9167 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.404, allocations: 3.984 kB / 0.9167 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006926/1.411, allocations: 6.485 MB / 0.923 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03139/1.443, allocations: 5.631 MB / 0.9285 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01335/1.456, allocations: 1.635 MB / 0.9301 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/1.456, allocations: 0.6094 kB / 0.9301 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008531/1.457, allocations: 175.5 kB / 0.9303 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/1.457, allocations: 0 / 0.9303 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.457, allocations: 1.125 kB / 0.9303 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03041/1.487, allocations: 5.773 MB / 0.9359 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/1.489, allocations: 0.5583 MB / 0.9364 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006777/1.489, allocations: 11.98 kB / 0.9365 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01879/1.508, allocations: 1.253 MB / 0.9377 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/1.509, allocations: 44.59 kB / 0.9377 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001157/1.51, allocations: 175.5 kB / 0.9379 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005193/1.51, allocations: 243.2 kB / 0.9381 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.41e-07/1.51, allocations: 0 / 0.9381 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0044/1.515, allocations: 0.5895 MB / 0.9387 GB, free: 7.305 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.0008831/1.516, allocations: 174.8 kB / 0.9389 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.07257/1.588, allocations: 10.3 MB / 0.9489 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/1.588, allocations: 2.25 kB / 0.9489 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01525/1.604, allocations: 2.906 MB / 0.9518 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/1.605, allocations: 89.78 kB / 0.9518 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/1.62, allocations: 3.268 MB / 0.955 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/1.62, allocations: 0.7891 MB / 0.9558 GB, free: 5.746 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003263/1.624, allocations: 0.5528 MB / 0.9564 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of SimCode: time 1.032e-06/1.624, allocations: 0 / 0.9564 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of Templates: time 0.05635/1.68, allocations: 37.18 MB / 0.9927 GB, free: 15.97 MB / 0.795 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 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)