Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001326/0.001327, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001643/0.001643, allocations: 192.5 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 69.02 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3555, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004856/0.3604, allocations: 2.882 MB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004758/0.3652, allocations: 2.917 MB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.3654, allocations: 4 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.3658, allocations: 63.8 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006309/0.3664, allocations: 186.9 kB / 1.074 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.3683, allocations: 0.541 MB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006717/0.3689, allocations: 0.529 MB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.3692, allocations: 114.6 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.3694, allocations: 203.3 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.3696, allocations: 219 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.176e-05/0.3697, allocations: 36 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007762/0.3705, allocations: 391.7 kB / 1.076 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.3706, allocations: 95.61 kB / 1.076 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.3707, allocations: 215 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008114/0.3716, allocations: 0.7206 MB / 1.077 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3716, allocations: 8 kB / 1.077 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3716, allocations: 0 / 1.077 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.3716, allocations: 0 / 1.077 GB, free: 1.699 MB / 0.8262 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.001044/0.3727, allocations: 0.7478 MB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3727, allocations: 12.03 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09962/0.4723, allocations: 12.21 MB / 1.089 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.4744, allocations: 0.9208 MB / 1.09 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.4744, allocations: 20.94 kB / 1.09 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004676/0.4749, allocations: 32.31 kB / 1.09 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/0.4903, allocations: 3.738 MB / 1.094 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4904, allocations: 4 kB / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002958/0.4907, allocations: 8 kB / 1.094 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4907, allocations: 8 kB / 1.094 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.5051, allocations: 2.961 MB / 1.097 GB, free: 12.93 MB / 0.8575 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.01375/0.5189, allocations: 17.16 MB / 1.113 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/0.5335, allocations: 2.938 MB / 1.116 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01424/0.5478, allocations: 2.788 MB / 1.119 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.5479, allocations: 35.98 kB / 1.119 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.548, allocations: 34.56 kB / 1.119 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 3.236e-06/0.548, allocations: 0 / 1.119 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.04517/0.5931, allocations: 8.545 MB / 1.128 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.5932, allocations: 51.41 kB / 1.128 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.5936, allocations: 353.6 kB / 1.128 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0005364/0.5942, allocations: 29.7 kB / 1.128 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.5945, allocations: 200.4 kB / 1.128 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.5949, allocations: 70.86 kB / 1.128 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/0.5965, allocations: 480.9 kB / 1.129 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5967, allocations: 346.8 kB / 1.129 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01958/0.6162, allocations: 3.9 MB / 1.133 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01923/0.6355, allocations: 3.929 MB / 1.137 GB, free: 432 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03229/0.6678, allocations: 6.211 MB / 1.143 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.6678, allocations: 0 / 1.143 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04179/0.7096, allocations: 8.034 MB / 1.151 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.7097, allocations: 7.938 kB / 1.151 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03645/0.7462, allocations: 7.295 MB / 1.158 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.7462, allocations: 4 kB / 1.158 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01494/0.7612, allocations: 1.912 MB / 1.16 GB, free: 8.926 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/0.7612, allocations: 4 kB / 1.16 GB, free: 8.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01366/0.7749, allocations: 1.51 MB / 1.161 GB, free: 7.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009554/0.7759, allocations: 203.5 kB / 1.161 GB, free: 7.211 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02035/0.7962, allocations: 3.989 MB / 1.165 GB, free: 3.215 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03145/0.8277, allocations: 3.926 MB / 1.169 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06851/0.8963, allocations: 6.196 MB / 1.175 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.795e-06/0.8963, allocations: 3.984 kB / 1.175 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.08257/0.9789, allocations: 8.025 MB / 1.183 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.9789, allocations: 5.25 kB / 1.183 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07321/1.052, allocations: 7.283 MB / 1.19 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/1.052, allocations: 0 / 1.19 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02569/1.078, allocations: 1.916 MB / 1.192 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/1.078, allocations: 0 / 1.192 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02398/1.102, allocations: 1.502 MB / 1.193 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/1.103, allocations: 203.5 kB / 1.193 GB, free: 6.109 MB / 0.9512 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.00161/1.105, allocations: 196.1 kB / 1.194 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.106, allocations: 35.61 kB / 1.194 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05701/1.163, allocations: 6.703 MB / 1.2 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/1.163, allocations: 4 kB / 1.2 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.163, allocations: 0 / 1.2 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-05/1.163, allocations: 3.984 kB / 1.2 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/1.173, allocations: 6.495 MB / 1.207 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.05846/1.232, allocations: 5.633 MB / 1.212 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01437/1.246, allocations: 1.623 MB / 1.214 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/1.246, allocations: 7.938 kB / 1.214 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005287/1.247, allocations: 171.5 kB / 1.214 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.247, allocations: 0 / 1.214 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.247, allocations: 0 / 1.214 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02954/1.276, allocations: 5.783 MB / 1.219 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.277, allocations: 0.5622 MB / 1.22 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004981/1.278, allocations: 4 kB / 1.22 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01131/1.289, allocations: 1.261 MB / 1.221 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.289, allocations: 39.91 kB / 1.221 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005173/1.29, allocations: 171.5 kB / 1.221 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002704/1.29, allocations: 239.2 kB / 1.222 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.29, allocations: 4 kB / 1.222 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002712/1.293, allocations: 0.5895 MB / 1.222 GB, free: 7.031 MB / 0.9825 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.0006571/1.294, allocations: 179 kB / 1.222 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05324/1.347, allocations: 10.3 MB / 1.233 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/1.347, allocations: 0 / 1.233 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0152/1.362, allocations: 2.907 MB / 1.235 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/1.364, allocations: 85.44 kB / 1.235 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.379, allocations: 3.358 MB / 1.239 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/1.379, allocations: 0.7961 MB / 1.239 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0126/1.392, allocations: 1.653 MB / 1.241 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003014/1.395, allocations: 0.4982 MB / 1.242 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of SimCode: time 1.163e-06/1.395, allocations: 0 / 1.242 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.6892/2.084, allocations: 84.67 MB / 1.324 GB, free: 130.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)