Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001088/0.001087, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 58.56 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3122, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003751/0.3159, allocations: 2.837 MB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004087/0.32, allocations: 2.961 MB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.3202, allocations: 4 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.3205, allocations: 79.55 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004946/0.321, allocations: 217.9 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.3223, allocations: 0.5955 MB / 1.075 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006236/0.3229, allocations: 0.529 MB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.3231, allocations: 122.6 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.3233, allocations: 187.4 kB / 1.076 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.3236, allocations: 219.1 kB / 1.076 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.3237, allocations: 36 kB / 1.076 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006999/0.3244, allocations: 403.6 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.3244, allocations: 91.67 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.3246, allocations: 211 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008414/0.3255, allocations: 0.7245 MB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3255, allocations: 0 / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3255, allocations: 4 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3255, allocations: 0 / 1.077 GB, free: 1.207 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.001062/0.3266, allocations: 0.7478 MB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3266, allocations: 12.03 kB / 1.078 GB, free: 408 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09978/0.4264, allocations: 12.21 MB / 1.09 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.4285, allocations: 0.9247 MB / 1.091 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.4285, allocations: 24.88 kB / 1.091 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007668/0.4293, allocations: 28.38 kB / 1.091 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.4454, allocations: 3.738 MB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4455, allocations: 4 kB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/0.4458, allocations: 8 kB / 1.094 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.4458, allocations: 8 kB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.46, allocations: 2.961 MB / 1.097 GB, free: 12.43 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.01432/0.4743, allocations: 17.16 MB / 1.114 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01443/0.4888, allocations: 2.931 MB / 1.117 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01409/0.5029, allocations: 2.799 MB / 1.12 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.503, allocations: 31.98 kB / 1.12 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.5031, allocations: 38.5 kB / 1.12 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 2.464e-06/0.5031, allocations: 0 / 1.12 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.04408/0.5472, allocations: 8.552 MB / 1.128 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.5473, allocations: 55.41 kB / 1.128 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.5477, allocations: 345.7 kB / 1.128 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004946/0.5482, allocations: 33.7 kB / 1.129 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.5485, allocations: 192.5 kB / 1.129 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003848/0.5489, allocations: 78.84 kB / 1.129 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/0.5502, allocations: 480.9 kB / 1.129 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5503, allocations: 346.8 kB / 1.13 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01961/0.5699, allocations: 3.893 MB / 1.133 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01993/0.5899, allocations: 3.929 MB / 1.137 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03375/0.6237, allocations: 6.211 MB / 1.143 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.6237, allocations: 3.938 kB / 1.143 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04204/0.6658, allocations: 8.037 MB / 1.151 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.6658, allocations: 4 kB / 1.151 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03692/0.7028, allocations: 7.291 MB / 1.158 GB, free: 10.35 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.7029, allocations: 4 kB / 1.158 GB, free: 10.35 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01472/0.7176, allocations: 1.912 MB / 1.16 GB, free: 8.434 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.7176, allocations: 0 / 1.16 GB, free: 8.434 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01328/0.7309, allocations: 1.51 MB / 1.162 GB, free: 6.922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007116/0.7317, allocations: 203.5 kB / 1.162 GB, free: 6.723 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01942/0.7511, allocations: 3.993 MB / 1.166 GB, free: 2.723 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01943/0.7706, allocations: 3.927 MB / 1.17 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03265/0.8033, allocations: 6.196 MB / 1.176 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.181e-06/0.8033, allocations: 0 / 1.176 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04186/0.8452, allocations: 8.025 MB / 1.183 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.8452, allocations: 4 kB / 1.183 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03718/0.8824, allocations: 7.28 MB / 1.191 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.8825, allocations: 0 / 1.191 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01447/0.897, allocations: 1.916 MB / 1.192 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.897, allocations: 0 / 1.192 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01345/0.9105, allocations: 1.502 MB / 1.194 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008574/0.9114, allocations: 207.5 kB / 1.194 GB, free: 5.621 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.001006/0.9124, allocations: 197.3 kB / 1.194 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005136/0.9129, allocations: 31.62 kB / 1.194 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03258/0.9455, allocations: 6.703 MB / 1.201 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.9456, allocations: 4 kB / 1.201 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.9456, allocations: 4 kB / 1.201 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.9456, allocations: 0 / 1.201 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00618/0.9518, allocations: 6.491 MB / 1.207 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02849/0.9803, allocations: 5.625 MB / 1.213 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0123/0.9927, allocations: 1.631 MB / 1.214 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/0.9928, allocations: 4 kB / 1.214 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000527/0.9933, allocations: 175.5 kB / 1.214 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.9933, allocations: 0 / 1.214 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.628e-05/0.9933, allocations: 3.984 kB / 1.214 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02945/1.023, allocations: 5.775 MB / 1.22 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.024, allocations: 0.5622 MB / 1.221 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004167/1.024, allocations: 8 kB / 1.221 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01112/1.036, allocations: 1.257 MB / 1.222 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/1.036, allocations: 39.91 kB / 1.222 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005287/1.036, allocations: 175.5 kB / 1.222 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002884/1.037, allocations: 239.2 kB / 1.222 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.2e-07/1.037, allocations: 0 / 1.222 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002702/1.039, allocations: 0.5895 MB / 1.223 GB, free: 6.555 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.0005773/1.04, allocations: 175.1 kB / 1.223 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05109/1.091, allocations: 10.3 MB / 1.233 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.091, allocations: 3.938 kB / 1.233 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0145/1.106, allocations: 2.907 MB / 1.236 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/1.107, allocations: 85.41 kB / 1.236 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/1.121, allocations: 3.225 MB / 1.239 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/1.122, allocations: 0.8 MB / 1.24 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01091/1.133, allocations: 1.657 MB / 1.242 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002572/1.135, allocations: 0.506 MB / 1.242 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of SimCode: time 1.513e-06/1.135, allocations: 0 / 1.242 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of Templates: time 0.5958/1.731, allocations: 84.8 MB / 1.325 GB, free: 128.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)