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.001524/0.001525, 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.002016/0.002016, allocations: 194.2 kB / 16.14 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.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.83 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3876, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004362/0.392, allocations: 2.871 MB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00421/0.3962, allocations: 2.977 MB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.3964, allocations: 4 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.3967, allocations: 71.8 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004907/0.3972, allocations: 178.9 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.3985, allocations: 0.5215 MB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005844/0.3991, allocations: 0.5056 MB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.3993, allocations: 105.4 kB / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.3995, allocations: 171.3 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.3997, allocations: 211 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.3998, allocations: 24 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.4005, allocations: 379.7 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.4005, allocations: 79.62 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.4007, allocations: 199 kB / 1.076 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008107/0.4015, allocations: 0.7088 MB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4016, allocations: 0 / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.11e-07/0.4016, allocations: 4 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.4016, allocations: 0 / 1.076 GB, free: 1.914 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.001197/0.4028, allocations: 0.7556 MB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4028, allocations: 8.031 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09907/0.5019, allocations: 12.21 MB / 1.089 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/0.5039, allocations: 0.9209 MB / 1.09 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.504, allocations: 20.94 kB / 1.09 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004846/0.5045, allocations: 24.38 kB / 1.09 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/0.5205, allocations: 3.742 MB / 1.094 GB, free: 124 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.5206, allocations: 0 / 1.094 GB, free: 124 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/0.5209, allocations: 8 kB / 1.094 GB, free: 116 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.5209, allocations: 11.98 kB / 1.094 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.535, allocations: 2.961 MB / 1.096 GB, free: 13.14 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.01752/0.5526, allocations: 17.17 MB / 1.113 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0151/0.5677, allocations: 2.93 MB / 1.116 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.015/0.5827, allocations: 2.796 MB / 1.119 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.5829, allocations: 31.98 kB / 1.119 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.583, allocations: 34.56 kB / 1.119 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 2.975e-06/0.583, allocations: 3.938 kB / 1.119 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.04593/0.6289, allocations: 8.551 MB / 1.127 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.629, allocations: 55.41 kB / 1.127 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.6295, allocations: 341.7 kB / 1.128 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0007397/0.6303, allocations: 33.7 kB / 1.128 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.6306, allocations: 196.3 kB / 1.128 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005463/0.6312, allocations: 78.84 kB / 1.128 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002314/0.6335, allocations: 480.9 kB / 1.128 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002644/0.6338, allocations: 342.8 kB / 1.129 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01981/0.6536, allocations: 3.897 MB / 1.132 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01981/0.6735, allocations: 3.929 MB / 1.136 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0344/0.7079, allocations: 6.208 MB / 1.142 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.708, allocations: 0 / 1.142 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04266/0.7506, allocations: 8.041 MB / 1.15 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.7507, allocations: 7.984 kB / 1.15 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03643/0.7871, allocations: 7.287 MB / 1.157 GB, free: 11.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.7872, allocations: 48 / 1.157 GB, free: 11.06 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01484/0.8021, allocations: 1.919 MB / 1.159 GB, free: 9.141 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.8021, allocations: 0 / 1.159 GB, free: 9.141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01379/0.8159, allocations: 1.51 MB / 1.161 GB, free: 7.629 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009441/0.8169, allocations: 207.5 kB / 1.161 GB, free: 7.426 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02094/0.8379, allocations: 3.985 MB / 1.165 GB, free: 3.434 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0203/0.8582, allocations: 3.93 MB / 1.169 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03408/0.8923, allocations: 6.196 MB / 1.175 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.78e-06/0.8924, allocations: 0 / 1.175 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04223/0.9346, allocations: 8.021 MB / 1.183 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.9347, allocations: 8 kB / 1.183 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03794/0.9726, allocations: 7.276 MB / 1.19 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.9727, allocations: 4 kB / 1.19 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01508/0.9878, allocations: 1.912 MB / 1.192 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.9878, allocations: 4 kB / 1.192 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/1.001, allocations: 1.502 MB / 1.193 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008461/1.002, allocations: 207.5 kB / 1.193 GB, free: 6.332 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.001124/1.003, allocations: 200.1 kB / 1.193 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006218/1.004, allocations: 27.62 kB / 1.193 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03479/1.039, allocations: 6.707 MB / 1.2 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/1.039, allocations: 4 kB / 1.2 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.039, allocations: 0 / 1.2 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/1.039, allocations: 3.984 kB / 1.2 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005798/1.045, allocations: 6.487 MB / 1.206 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03007/1.075, allocations: 5.629 MB / 1.212 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01303/1.088, allocations: 1.627 MB / 1.213 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.559e-05/1.088, allocations: 3.938 kB / 1.213 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008299/1.089, allocations: 171.6 kB / 1.214 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/1.089, allocations: 7.938 kB / 1.214 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.089, allocations: 0 / 1.214 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03115/1.12, allocations: 5.775 MB / 1.219 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.121, allocations: 0.5622 MB / 1.22 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007286/1.122, allocations: 8 kB / 1.22 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01147/1.134, allocations: 1.257 MB / 1.221 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/1.134, allocations: 39.91 kB / 1.221 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007261/1.135, allocations: 175.5 kB / 1.221 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000324/1.135, allocations: 243.2 kB / 1.221 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.9e-07/1.135, allocations: 0 / 1.221 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00336/1.138, allocations: 0.5895 MB / 1.222 GB, free: 7.258 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.0008606/1.139, allocations: 181.4 kB / 1.222 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05172/1.191, allocations: 10.28 MB / 1.232 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.191, allocations: 0 / 1.232 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01506/1.206, allocations: 2.907 MB / 1.235 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.208, allocations: 81.39 kB / 1.235 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/1.223, allocations: 3.366 MB / 1.238 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/1.224, allocations: 0.7923 MB / 1.239 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01289/1.237, allocations: 1.661 MB / 1.241 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003385/1.24, allocations: 0.4982 MB / 1.241 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of SimCode: time 1.573e-06/1.24, allocations: 0 / 1.241 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of Templates: time 0.6341/1.874, allocations: 82.57 MB / 1.322 GB, free: 132 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)