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.001158/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001137/0.001137, allocations: 190.3 kB / 16.13 MB, free: 6.707 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.355/1.355, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.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.725/1.725, allocations: 292.2 MB / 0.5484 GB, free: 13.62 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.001422/0.001422, allocations: 68.56 kB / 0.6708 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2178, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004301/0.2221, allocations: 2.878 MB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00394/0.2261, allocations: 2.993 MB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.2263, allocations: 4 kB / 0.7884 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.2266, allocations: 63.81 kB / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005684/0.2272, allocations: 194.8 kB / 0.7887 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.2284, allocations: 0.5133 MB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005003/0.2289, allocations: 0.5133 MB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.2291, allocations: 94.59 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.2293, allocations: 175.4 kB / 0.7899 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.2295, allocations: 211.1 kB / 0.7901 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.2296, allocations: 28 kB / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007041/0.2303, allocations: 371.7 kB / 0.7905 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.2304, allocations: 79.67 kB / 0.7906 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.2305, allocations: 199 kB / 0.7908 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008979/0.2315, allocations: 0.701 MB / 0.7914 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2315, allocations: 0 / 0.7914 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2315, allocations: 0 / 0.7914 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2315, allocations: 4 kB / 0.7915 GB, free: 4.973 MB / 0.6075 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.001059/0.2325, allocations: 0.7556 MB / 0.7922 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2326, allocations: 8.031 kB / 0.7922 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1004/0.333, allocations: 12.2 MB / 0.8041 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.3349, allocations: 0.9324 MB / 0.805 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3349, allocations: 24.88 kB / 0.805 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004509/0.3354, allocations: 28.38 kB / 0.8051 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.3504, allocations: 3.746 MB / 0.8087 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3504, allocations: 0 / 0.8087 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/0.3507, allocations: 8 kB / 0.8087 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3508, allocations: 8 kB / 0.8087 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.3652, allocations: 2.965 MB / 0.8116 GB, free: 188 kB / 0.6231 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.01441/0.3796, allocations: 17.15 MB / 0.8284 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01419/0.3938, allocations: 2.934 MB / 0.8313 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01417/0.408, allocations: 2.792 MB / 0.834 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.4082, allocations: 31.98 kB / 0.834 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.4082, allocations: 30.56 kB / 0.834 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.395e-06/0.4082, allocations: 3.938 kB / 0.834 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.0425/0.4507, allocations: 8.555 MB / 0.8424 GB, free: 13.07 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4508, allocations: 59.34 kB / 0.8425 GB, free: 13 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000496/0.4513, allocations: 341.7 kB / 0.8428 GB, free: 12.66 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006933/0.452, allocations: 33.7 kB / 0.8428 GB, free: 12.62 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.4524, allocations: 196.4 kB / 0.843 GB, free: 12.43 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000519/0.453, allocations: 70.95 kB / 0.8431 GB, free: 12.36 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002026/0.455, allocations: 488.8 kB / 0.8435 GB, free: 11.87 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4552, allocations: 346.8 kB / 0.8439 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01954/0.4747, allocations: 3.893 MB / 0.8477 GB, free: 7.625 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02019/0.495, allocations: 3.931 MB / 0.8515 GB, free: 3.68 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03356/0.5286, allocations: 6.211 MB / 0.8576 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.5286, allocations: 0 / 0.8576 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04076/0.5694, allocations: 8.033 MB / 0.8654 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.5695, allocations: 4 kB / 0.8654 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0353/0.6048, allocations: 7.283 MB / 0.8725 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.6048, allocations: 4 kB / 0.8725 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01434/0.6192, allocations: 1.912 MB / 0.8744 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.6192, allocations: 3.984 kB / 0.8744 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01355/0.6328, allocations: 1.51 MB / 0.8759 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007913/0.6336, allocations: 207.5 kB / 0.8761 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02004/0.6537, allocations: 3.986 MB / 0.88 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01977/0.6735, allocations: 3.934 MB / 0.8838 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03265/0.7062, allocations: 6.192 MB / 0.8899 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.627e-06/0.7062, allocations: 0 / 0.8899 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03992/0.7461, allocations: 8.026 MB / 0.8977 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.7462, allocations: 4 kB / 0.8977 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03627/0.7824, allocations: 7.28 MB / 0.9048 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.7825, allocations: 7.984 kB / 0.9048 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01453/0.797, allocations: 1.916 MB / 0.9067 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.7971, allocations: 8 kB / 0.9067 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0131/0.8102, allocations: 1.498 MB / 0.9082 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007851/0.811, allocations: 207.5 kB / 0.9084 GB, free: 9.375 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.001051/0.8121, allocations: 196.1 kB / 0.9085 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/0.8127, allocations: 27.62 kB / 0.9086 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03246/0.8451, allocations: 6.694 MB / 0.9151 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.8452, allocations: 11.92 kB / 0.9151 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.8452, allocations: 0 / 0.9151 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.8452, allocations: 0 / 0.9151 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3748/1.22, allocations: 6.475 MB / 0.9214 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0287/1.249, allocations: 5.639 MB / 0.9269 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01217/1.261, allocations: 1.628 MB / 0.9285 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/1.261, allocations: 0 / 0.9285 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004308/1.261, allocations: 173 kB / 0.9287 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.892e-06/1.261, allocations: 11.19 kB / 0.9287 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.261, allocations: 0 / 0.9287 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02923/1.291, allocations: 5.776 MB / 0.9344 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/1.292, allocations: 0.5526 MB / 0.9349 GB, free: 132 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008465/1.293, allocations: 11.2 kB / 0.9349 GB, free: 132 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.012/1.305, allocations: 1.26 MB / 0.9361 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/1.305, allocations: 39.7 kB / 0.9362 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006841/1.306, allocations: 180 kB / 0.9363 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002824/1.306, allocations: 233 kB / 0.9366 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.306, allocations: 0 / 0.9366 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002909/1.309, allocations: 0.592 MB / 0.9371 GB, free: 131.8 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.0006205/1.31, allocations: 177.6 kB / 0.9373 GB, free: 131.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.04983/1.36, allocations: 10.3 MB / 0.9474 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.36, allocations: 0 / 0.9474 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01354/1.373, allocations: 2.9 MB / 0.9502 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/1.374, allocations: 79.3 kB / 0.9503 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.388, allocations: 3.366 MB / 0.9536 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/1.388, allocations: 0.8014 MB / 0.9544 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.01064/1.399, allocations: 1.661 MB / 0.956 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002776/1.401, allocations: 0.4982 MB / 0.9565 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/1.401, allocations: 0 / 0.9565 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.09269/1.494, allocations: 82.59 MB / 1.037 GB, free: 40.41 MB / 0.7325 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)