Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 288.4 MB / 303.7 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 181.3 kB / 372.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 0.631 GB, free: 9.859 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008159/0.0008158, allocations: 102.3 kB / 0.7444 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004015, allocations: 13 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2352, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002671/0.2379, allocations: 2.409 MB / 0.9825 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.2413, allocations: 2.753 MB / 0.9852 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.2415, allocations: 4 kB / 0.9852 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.2418, allocations: 51.59 kB / 0.9852 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005919/0.2424, allocations: 187.1 kB / 0.9854 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.2438, allocations: 497.8 kB / 0.9859 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006022/0.2444, allocations: 493.8 kB / 0.9864 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.2446, allocations: 94.59 kB / 0.9864 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.2448, allocations: 167.4 kB / 0.9866 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.2451, allocations: 195.1 kB / 0.9868 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.55e-05/0.2451, allocations: 24 kB / 0.9868 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.2459, allocations: 355.7 kB / 0.9872 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.523e-05/0.246, allocations: 71.73 kB / 0.9872 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.2462, allocations: 212.8 kB / 0.9874 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.2468, allocations: 0.5143 MB / 0.9879 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2468, allocations: 0 / 0.9879 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2468, allocations: 4 kB / 0.9879 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.2468, allocations: 0 / 0.9879 GB, free: 19.32 MB / 0.6198 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.0008876/0.2477, allocations: 0.6701 MB / 0.9886 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2478, allocations: 12.02 kB / 0.9886 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08457/0.3323, allocations: 10.6 MB / 0.9989 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.3342, allocations: 0.9286 MB / 0.9998 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.3343, allocations: 16.94 kB / 0.9999 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007702/0.3351, allocations: 28.38 kB / 0.9999 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/0.3493, allocations: 3.563 MB / 1.003 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3493, allocations: 3.938 kB / 1.003 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003425/0.3497, allocations: 15.98 kB / 1.003 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.3497, allocations: 7.938 kB / 1.003 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.3633, allocations: 2.793 MB / 1.006 GB, free: 0.5781 MB / 0.6198 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.01702/0.3803, allocations: 17.16 MB / 1.023 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/0.3978, allocations: 2.77 MB / 1.026 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01789/0.4158, allocations: 2.617 MB / 1.028 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.416, allocations: 35.97 kB / 1.028 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.416, allocations: 34.56 kB / 1.028 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 3.236e-06/0.416, allocations: 0 / 1.028 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.045/0.461, allocations: 8.035 MB / 1.036 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.4611, allocations: 51.41 kB / 1.036 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.4615, allocations: 341.7 kB / 1.036 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004389/0.462, allocations: 33.7 kB / 1.036 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.4622, allocations: 200.4 kB / 1.037 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.4625, allocations: 74.86 kB / 1.037 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.4628, allocations: 4 kB / 1.037 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4629, allocations: 350.8 kB / 1.037 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0177/0.4806, allocations: 3.634 MB / 1.041 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01801/0.4986, allocations: 3.677 MB / 1.044 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03042/0.5291, allocations: 5.794 MB / 1.05 GB, free: 116 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.5291, allocations: 0 / 1.05 GB, free: 116 kB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0395/0.5686, allocations: 7.528 MB / 1.057 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.914e-05/0.5687, allocations: 100.9 kB / 1.057 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03586/0.6046, allocations: 6.826 MB / 1.064 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.6047, allocations: 4 kB / 1.064 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4171/1.022, allocations: 1.696 MB / 1.066 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/1.022, allocations: 1.875 kB / 1.066 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01997/1.042, allocations: 1.288 MB / 1.067 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001264/1.043, allocations: 206.4 kB / 1.067 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.043, allocations: 2.875 kB / 1.067 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06608/1.109, allocations: 7.466 MB / 1.074 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05988/1.169, allocations: 6.834 MB / 1.081 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.169, allocations: 2.188 kB / 1.081 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02167/1.191, allocations: 1.692 MB / 1.083 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.191, allocations: 0.6562 kB / 1.083 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01926/1.21, allocations: 1.283 MB / 1.084 GB, free: 88.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008566/1.211, allocations: 204.4 kB / 1.084 GB, free: 88.05 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001238/1.212, allocations: 220.4 kB / 1.084 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/1.213, allocations: 36.53 kB / 1.084 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0305/1.243, allocations: 6.352 MB / 1.091 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.243, allocations: 6.328 kB / 1.091 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.243, allocations: 1.312 kB / 1.091 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/1.243, allocations: 0 / 1.091 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004562/1.248, allocations: 6.482 MB / 1.097 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0274/1.275, allocations: 5.289 MB / 1.102 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01182/1.287, allocations: 1.45 MB / 1.104 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/1.287, allocations: 2.469 kB / 1.104 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004813/1.288, allocations: 172 kB / 1.104 GB, free: 75.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/1.288, allocations: 5.406 kB / 1.104 GB, free: 75.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/1.288, allocations: 1.469 kB / 1.104 GB, free: 75.17 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02791/1.316, allocations: 5.432 MB / 1.109 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.317, allocations: 0.5645 MB / 1.11 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006151/1.318, allocations: 5.375 kB / 1.11 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01064/1.329, allocations: 1.081 MB / 1.111 GB, free: 71.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/1.329, allocations: 43.09 kB / 1.111 GB, free: 71.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004818/1.329, allocations: 179.3 kB / 1.111 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002559/1.33, allocations: 235.5 kB / 1.111 GB, free: 71.53 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.33, allocations: 3.938 kB / 1.111 GB, free: 71.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003093/1.333, allocations: 0.5975 MB / 1.112 GB, free: 71.49 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005523/1.333, allocations: 168.1 kB / 1.112 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0461/1.379, allocations: 9.67 MB / 1.121 GB, free: 61.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.379, allocations: 0 / 1.121 GB, free: 61.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01263/1.392, allocations: 2.732 MB / 1.124 GB, free: 59.01 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/1.393, allocations: 73.36 kB / 1.124 GB, free: 58.94 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.407, allocations: 3.194 MB / 1.127 GB, free: 55.72 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/1.407, allocations: 0.7961 MB / 1.128 GB, free: 54.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.01201/1.419, allocations: 1.639 MB / 1.129 GB, free: 53.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002791/1.422, allocations: 0.5021 MB / 1.13 GB, free: 52.75 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/1.422, allocations: 0 / 1.13 GB, free: 52.75 MB / 0.6823 GB Notification: Performance of Templates: time 0.09895/1.521, allocations: 79.35 MB / 1.207 GB, free: 5.168 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)