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.0007907/0.0007903, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005747/0.005748, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.538/1.538, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005225/0.0005226, allocations: 8.406 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3872, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003545/0.3908, allocations: 2.513 MB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004911/0.3957, allocations: 2.925 MB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/0.3961, allocations: 0 / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.3965, allocations: 63.81 kB / 1.08 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008684/0.3974, allocations: 194.8 kB / 1.08 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.3991, allocations: 0.513 MB / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008341/0.4, allocations: 0.5094 MB / 1.081 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.4003, allocations: 106.5 kB / 1.081 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.4006, allocations: 163.4 kB / 1.081 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.4009, allocations: 199.1 kB / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.465e-05/0.401, allocations: 16 kB / 1.081 GB, free: 328 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009092/0.4019, allocations: 379.6 kB / 1.082 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.4021, allocations: 71.69 kB / 1.082 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.4023, allocations: 224.7 kB / 1.082 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.4035, allocations: 0.697 MB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4035, allocations: 4 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4035, allocations: 0 / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.4035, allocations: 0 / 1.082 GB, free: 14.95 MB / 0.8419 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.001304/0.4048, allocations: 0.6754 MB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4049, allocations: 8.031 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09824/0.5031, allocations: 10.6 MB / 1.093 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.5053, allocations: 0.9208 MB / 1.094 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.5054, allocations: 28.94 kB / 1.094 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005165/0.5059, allocations: 24.38 kB / 1.094 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.5223, allocations: 3.563 MB / 1.098 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5224, allocations: 0 / 1.098 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/0.5226, allocations: 12 kB / 1.098 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.5227, allocations: 11.98 kB / 1.098 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0164/0.5391, allocations: 2.805 MB / 1.101 GB, free: 12.19 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.01739/0.5565, allocations: 17.16 MB / 1.117 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/0.5719, allocations: 2.76 MB / 1.12 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01493/0.5868, allocations: 2.62 MB / 1.123 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.587, allocations: 31.98 kB / 1.123 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.587, allocations: 46.48 kB / 1.123 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.587, allocations: 0 / 1.123 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.04725/0.6343, allocations: 8.027 MB / 1.131 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.6344, allocations: 59.41 kB / 1.131 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004821/0.6349, allocations: 345.7 kB / 1.131 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0007206/0.6356, allocations: 33.7 kB / 1.131 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.6359, allocations: 196.4 kB / 1.131 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/0.6362, allocations: 82.84 kB / 1.131 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004245/0.6366, allocations: 33.64 kB / 1.131 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.6369, allocations: 346.8 kB / 1.132 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02137/0.6582, allocations: 3.645 MB / 1.135 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02117/0.6794, allocations: 3.69 MB / 1.139 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03553/0.715, allocations: 5.786 MB / 1.144 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.715, allocations: 0 / 1.144 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04345/0.7585, allocations: 7.527 MB / 1.152 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/0.7586, allocations: 108.7 kB / 1.152 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03882/0.7974, allocations: 6.846 MB / 1.159 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.7975, allocations: 4 kB / 1.159 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0155/0.813, allocations: 1.689 MB / 1.16 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.813, allocations: 4 kB / 1.16 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01411/0.8271, allocations: 1.291 MB / 1.162 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009522/0.8281, allocations: 207.5 kB / 1.162 GB, free: 9.965 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8282, allocations: 4 kB / 1.162 GB, free: 9.961 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0429/0.8711, allocations: 7.47 MB / 1.169 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03905/0.9102, allocations: 6.839 MB / 1.176 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.9102, allocations: 0 / 1.176 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01526/0.9255, allocations: 1.697 MB / 1.177 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.9256, allocations: 0 / 1.177 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01432/0.9399, allocations: 1.284 MB / 1.179 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007384/0.9407, allocations: 203.5 kB / 1.179 GB, free: 8.457 MB / 0.9356 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.000877/0.9415, allocations: 221.1 kB / 1.179 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.9419, allocations: 35.56 kB / 1.179 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03388/0.9758, allocations: 6.352 MB / 1.185 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.9758, allocations: 0 / 1.185 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.9758, allocations: 0 / 1.185 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.9759, allocations: 7.984 kB / 1.185 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005762/0.9816, allocations: 6.484 MB / 1.192 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03005/1.012, allocations: 5.29 MB / 1.197 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01268/1.024, allocations: 1.455 MB / 1.198 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/1.024, allocations: 4 kB / 1.198 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003853/1.025, allocations: 171.5 kB / 1.198 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/1.025, allocations: 4 kB / 1.198 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.025, allocations: 0 / 1.198 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02975/1.055, allocations: 5.44 MB / 1.204 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.056, allocations: 0.5622 MB / 1.204 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/1.056, allocations: 4 kB / 1.204 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0119/1.068, allocations: 1.077 MB / 1.205 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/1.068, allocations: 47.91 kB / 1.205 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004687/1.069, allocations: 171.5 kB / 1.205 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002844/1.069, allocations: 239.2 kB / 1.206 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.069, allocations: 0 / 1.206 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00253/1.072, allocations: 0.5934 MB / 1.206 GB, free: 10.74 MB / 0.9669 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.0005988/1.072, allocations: 175 kB / 1.206 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.05241/1.125, allocations: 9.675 MB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.125, allocations: 0 / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.01473/1.139, allocations: 2.736 MB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.141, allocations: 81.45 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/1.156, allocations: 3.232 MB / 1.222 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/1.156, allocations: 0.7884 MB / 1.223 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.01043/1.167, allocations: 1.646 MB / 1.224 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002617/1.169, allocations: 0.5021 MB / 1.225 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of SimCode: time 8.72e-07/1.169, allocations: 0 / 1.225 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of Templates: time 0.7357/1.905, allocations: 80.31 MB / 1.303 GB, free: 148.4 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)