Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.InteriorConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 106.6 kB / 16.36 MB, free: 6.297 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.001137/0.001138, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.519/1.519, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.882/1.882, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.002051/0.002052, allocations: 70.25 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2932, allocations: 114.5 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.003693/0.297, allocations: 1.854 MB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2984, allocations: 0.7605 MB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.2985, allocations: 8 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.17e-05/0.2985, allocations: 11.86 kB / 0.7874 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.2988, allocations: 47.62 kB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.2991, allocations: 75.78 kB / 0.7875 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.2993, allocations: 131.4 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.2995, allocations: 45.38 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.764e-05/0.2996, allocations: 39.86 kB / 0.7877 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.2997, allocations: 55.75 kB / 0.7877 GB, free: 104 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.2997, allocations: 8 kB / 0.7877 GB, free: 96 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.76e-05/0.2998, allocations: 16 kB / 0.7878 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.2998, allocations: 23.86 kB / 0.7878 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.2999, allocations: 43.8 kB / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.5088/0.8087, allocations: 113.3 kB / 0.7879 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.8088, allocations: 1.281 kB / 0.7879 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8088, allocations: 0 / 0.7879 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.8088, allocations: 0.8438 kB / 0.7879 GB, free: 46.72 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005818/0.8094, allocations: 406.3 kB / 0.7883 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/0.8094, allocations: 14.09 kB / 0.7883 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.8095, allocations: 17.38 kB / 0.7883 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.8097, allocations: 198.4 kB / 0.7885 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.8098, allocations: 3.75 kB / 0.7885 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.8098, allocations: 9.25 kB / 0.7885 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.8101, allocations: 85.27 kB / 0.7886 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.8101, allocations: 7.781 kB / 0.7886 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.8101, allocations: 3.938 kB / 0.7886 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.8101, allocations: 3.875 kB / 0.7886 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.8103, allocations: 67.75 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.8109, allocations: 364.2 kB / 0.7891 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.8112, allocations: 56.41 kB / 0.7891 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.464e-05/0.8113, allocations: 28.44 kB / 0.7891 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.8113, allocations: 0 / 0.7891 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.8114, allocations: 36.38 kB / 0.7892 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.8114, allocations: 3.062 kB / 0.7892 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004314/0.8118, allocations: 103.1 kB / 0.7893 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.8119, allocations: 52.06 kB / 0.7893 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.812, allocations: 153 kB / 0.7895 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.8121, allocations: 25.7 kB / 0.7895 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.8121, allocations: 117.2 kB / 0.7896 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.8122, allocations: 7.359 kB / 0.7896 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.8122, allocations: 18.53 kB / 0.7896 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.8123, allocations: 317.2 kB / 0.7899 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.67e-05/0.8124, allocations: 28.34 kB / 0.79 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.791e-05/0.8125, allocations: 20.75 kB / 0.79 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.8127, allocations: 50.81 kB / 0.79 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8127, allocations: 1.875 kB / 0.79 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00022/0.8129, allocations: 82.77 kB / 0.7901 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.8129, allocations: 5.25 kB / 0.7901 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.813, allocations: 3.938 kB / 0.7901 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.813, allocations: 1.562 kB / 0.7901 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.8131, allocations: 20.69 kB / 0.7901 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.8131, allocations: 0.5469 kB / 0.7901 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.8132, allocations: 16.56 kB / 0.7902 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.8132, allocations: 0 / 0.7902 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001306/0.8133, allocations: 105.1 kB / 0.7903 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001029/0.8134, allocations: 27.11 kB / 0.7903 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001686/0.8136, allocations: 53.94 kB / 0.7903 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.8136, allocations: 2.578 kB / 0.7903 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002202/0.8139, allocations: 76.92 kB / 0.7904 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.8139, allocations: 8.828 kB / 0.7904 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.8139, allocations: 4.781 kB / 0.7904 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.8139, allocations: 7.656 kB / 0.7904 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.814, allocations: 13.67 kB / 0.7904 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-06/0.814, allocations: 1.281 kB / 0.7904 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.8141, allocations: 9.156 kB / 0.7904 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.8141, allocations: 3.156 kB / 0.7905 GB, free: 44.91 MB / 0.6544 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 (4): * Single equations (assignments): 4 * 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.0001208/0.8142, allocations: 179.9 kB / 0.7906 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.8142, allocations: 10.31 kB / 0.7906 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.8146, allocations: 87.78 kB / 0.7907 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.8146, allocations: 0 / 0.7907 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.8146, allocations: 4.219 kB / 0.7907 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.8146, allocations: 2.875 kB / 0.7907 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.8148, allocations: 183.7 kB / 0.7909 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.8148, allocations: 0 / 0.7909 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.8149, allocations: 10.12 kB / 0.7909 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.8149, allocations: 3.875 kB / 0.7909 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.8149, allocations: 9.156 kB / 0.7909 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8149, allocations: 0.9375 kB / 0.7909 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8149, allocations: 2.969 kB / 0.7909 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.8152, allocations: 171.1 kB / 0.7911 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.8153, allocations: 86.89 kB / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.8153, allocations: 3.938 kB / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.221e-05/0.8154, allocations: 5.266 kB / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.8155, allocations: 10.2 kB / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.8155, allocations: 3.562 kB / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001047/0.8156, allocations: 117.4 kB / 0.7913 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8156, allocations: 0 / 0.7913 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003346/0.8159, allocations: 40.38 kB / 0.7913 GB, free: 44.18 MB / 0.6544 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 (3): * Single equations (assignments): 3 * 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.0001813/0.8161, allocations: 106.8 kB / 0.7914 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.8165, allocations: 73.02 kB / 0.7915 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8165, allocations: 0 / 0.7915 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.296e-05/0.8166, allocations: 26.05 kB / 0.7915 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.8169, allocations: 34.19 kB / 0.7916 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.8174, allocations: 236.8 kB / 0.7918 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.8176, allocations: 0.7018 MB / 0.7925 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.8177, allocations: 10.06 kB / 0.7925 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.8177, allocations: 2.625 kB / 0.7925 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.003219/0.8209, allocations: 1.324 MB / 0.7938 GB, free: 43.17 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1)