Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001306/0.001306, allocations: 105.4 kB / 15.7 MB, free: 24 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.001408/0.001408, allocations: 195.9 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 71.7 kB / 0.6723 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.253, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003753/0.2567, allocations: 2.832 MB / 0.7869 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.2604, allocations: 2.976 MB / 0.7898 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.2605, allocations: 8 kB / 0.7898 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.2608, allocations: 83.27 kB / 0.7899 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.2613, allocations: 206.5 kB / 0.7901 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.2625, allocations: 0.6072 MB / 0.7907 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.263, allocations: 0.5251 MB / 0.7912 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.2633, allocations: 118.7 kB / 0.7913 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.2635, allocations: 195.3 kB / 0.7915 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.2637, allocations: 219.1 kB / 0.7917 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.391e-05/0.2638, allocations: 36 kB / 0.7917 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.2645, allocations: 383.7 kB / 0.7921 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.592e-05/0.2646, allocations: 95.66 kB / 0.7922 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.2648, allocations: 218.9 kB / 0.7924 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008423/0.2656, allocations: 0.7245 MB / 0.7931 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2656, allocations: 0 / 0.7931 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2656, allocations: 0 / 0.7931 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2656, allocations: 0 / 0.7931 GB, free: 3.523 MB / 0.6075 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.001169/0.2668, allocations: 0.7518 MB / 0.7938 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2669, allocations: 8.031 kB / 0.7939 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09572/0.3626, allocations: 12.21 MB / 0.8058 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.3646, allocations: 0.9324 MB / 0.8067 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3646, allocations: 20.94 kB / 0.8067 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004174/0.365, allocations: 36.3 kB / 0.8067 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01527/0.3803, allocations: 3.738 MB / 0.8104 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3803, allocations: 0 / 0.8104 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/0.3806, allocations: 12 kB / 0.8104 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.3806, allocations: 8 kB / 0.8104 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.3953, allocations: 2.961 MB / 0.8133 GB, free: 14.73 MB / 0.6387 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.01619/0.4115, allocations: 17.16 MB / 0.8301 GB, free: 10 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01465/0.4262, allocations: 2.938 MB / 0.8329 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01445/0.4407, allocations: 2.784 MB / 0.8356 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.4409, allocations: 35.97 kB / 0.8357 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4409, allocations: 42.5 kB / 0.8357 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.033e-06/0.4409, allocations: 0 / 0.8357 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.04564/0.4865, allocations: 8.543 MB / 0.8441 GB, free: 11.62 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.4866, allocations: 59.41 kB / 0.8441 GB, free: 11.55 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.4871, allocations: 345.7 kB / 0.8444 GB, free: 11.21 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007712/0.4879, allocations: 29.7 kB / 0.8445 GB, free: 11.17 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.4881, allocations: 200.4 kB / 0.8447 GB, free: 10.97 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.4884, allocations: 70.94 kB / 0.8447 GB, free: 10.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.4897, allocations: 488.8 kB / 0.8452 GB, free: 10.42 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4899, allocations: 342.8 kB / 0.8455 GB, free: 10.07 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02016/0.5101, allocations: 3.893 MB / 0.8493 GB, free: 6.176 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02034/0.5305, allocations: 3.934 MB / 0.8532 GB, free: 2.227 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03378/0.5643, allocations: 6.207 MB / 0.8592 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.5643, allocations: 0 / 0.8592 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04216/0.6065, allocations: 8.033 MB / 0.8671 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.6066, allocations: 4 kB / 0.8671 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03724/0.6438, allocations: 7.29 MB / 0.8742 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.6439, allocations: 0 / 0.8742 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01485/0.6587, allocations: 1.923 MB / 0.8761 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.6588, allocations: 4 kB / 0.8761 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01348/0.6723, allocations: 1.502 MB / 0.8775 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007812/0.6731, allocations: 207.5 kB / 0.8777 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01958/0.6927, allocations: 3.985 MB / 0.8816 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01957/0.7123, allocations: 3.926 MB / 0.8855 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03331/0.7456, allocations: 6.204 MB / 0.8915 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.013e-06/0.7457, allocations: 3.984 kB / 0.8915 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04114/0.7868, allocations: 8.019 MB / 0.8994 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.7869, allocations: 4 kB / 0.8994 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03652/0.8234, allocations: 7.279 MB / 0.9065 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.8234, allocations: 4 kB / 0.9065 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01451/0.8379, allocations: 1.912 MB / 0.9083 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.838, allocations: 4 kB / 0.9083 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01316/0.8511, allocations: 1.502 MB / 0.9098 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007025/0.8519, allocations: 203.5 kB / 0.91 GB, free: 7.93 MB / 0.7325 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.0008148/0.8527, allocations: 199 kB / 0.9102 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/0.8531, allocations: 31.62 kB / 0.9102 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03144/0.8846, allocations: 6.691 MB / 0.9168 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.8846, allocations: 0 / 0.9168 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8847, allocations: 3.938 kB / 0.9168 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.8847, allocations: 7.984 kB / 0.9168 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3712/1.256, allocations: 6.481 MB / 0.9231 GB, free: 131.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02895/1.285, allocations: 5.627 MB / 0.9286 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01203/1.297, allocations: 1.627 MB / 0.9302 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/1.297, allocations: 2.625 kB / 0.9302 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005235/1.297, allocations: 176.1 kB / 0.9304 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/1.297, allocations: 6.766 kB / 0.9304 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.298, allocations: 0 / 0.9304 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02916/1.327, allocations: 5.773 MB / 0.936 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.328, allocations: 0.5592 MB / 0.9365 GB, free: 130 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004178/1.328, allocations: 5.812 kB / 0.9366 GB, free: 130 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01124/1.34, allocations: 1.26 MB / 0.9378 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/1.34, allocations: 46.22 kB / 0.9378 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006029/1.34, allocations: 175.7 kB / 0.938 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003262/1.341, allocations: 233.6 kB / 0.9382 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/1.341, allocations: 4.656 kB / 0.9382 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002536/1.343, allocations: 0.5855 MB / 0.9388 GB, free: 129.8 MB / 0.7325 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.0005651/1.344, allocations: 184.6 kB / 0.939 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.05042/1.394, allocations: 10.28 MB / 0.949 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.394, allocations: 3.844 kB / 0.949 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01337/1.408, allocations: 2.912 MB / 0.9519 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/1.409, allocations: 77.94 kB / 0.9519 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.422, allocations: 3.22 MB / 0.9551 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/1.423, allocations: 0.7968 MB / 0.9559 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.007736/1.43, allocations: 1.633 MB / 0.9575 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002419/1.433, allocations: 0.5021 MB / 0.9579 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of SimCode: time 7.62e-07/1.433, allocations: 0 / 0.9579 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.09977/1.533, allocations: 84.77 MB / 1.041 GB, free: 36.77 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)