Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 175.2 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009906/0.0009904, allocations: 92.98 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003312, allocations: 11.12 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.254, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002988/0.257, allocations: 2.548 MB / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00404/0.2611, allocations: 3.012 MB / 0.9022 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.2615, allocations: 4 kB / 0.9022 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.2619, allocations: 55.59 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008005/0.2627, allocations: 186.9 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.2645, allocations: 0.5199 MB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000857/0.2653, allocations: 0.4979 MB / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.2657, allocations: 100 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003622/0.2661, allocations: 171.3 kB / 0.9037 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.2664, allocations: 203.1 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.2664, allocations: 20 kB / 0.9039 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009573/0.2674, allocations: 363.7 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/0.2675, allocations: 71.69 kB / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.2678, allocations: 198.9 kB / 0.9045 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007791/0.2686, allocations: 0.5105 MB / 0.905 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2686, allocations: 8 kB / 0.905 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2686, allocations: 0 / 0.905 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.2686, allocations: 0 / 0.905 GB, free: 59.72 MB / 0.6042 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.00117/0.2698, allocations: 0.6777 MB / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.2698, allocations: 12.03 kB / 0.9057 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1231/0.393, allocations: 10.59 MB / 0.916 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/0.3962, allocations: 0.9246 MB / 0.9169 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.3963, allocations: 20.94 kB / 0.9169 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/0.3975, allocations: 36.36 kB / 0.917 GB, free: 47.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.027/0.4245, allocations: 3.559 MB / 0.9204 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.4246, allocations: 0 / 0.9204 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003627/0.4249, allocations: 19.94 kB / 0.9205 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4249, allocations: 4 kB / 0.9205 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.4385, allocations: 2.805 MB / 0.9232 GB, free: 40.95 MB / 0.6042 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.01194/0.4505, allocations: 17.15 MB / 0.94 GB, free: 20.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/0.4636, allocations: 2.766 MB / 0.9427 GB, free: 17.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01312/0.4768, allocations: 2.624 MB / 0.9452 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.477, allocations: 35.92 kB / 0.9452 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.477, allocations: 34.56 kB / 0.9453 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.096e-06/0.477, allocations: 0 / 0.9453 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.04066/0.5177, allocations: 8.037 MB / 0.9531 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.5178, allocations: 59.34 kB / 0.9532 GB, free: 6.629 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.5182, allocations: 341.8 kB / 0.9535 GB, free: 6.289 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006664/0.5188, allocations: 33.69 kB / 0.9535 GB, free: 6.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.5191, allocations: 196.4 kB / 0.9537 GB, free: 6.051 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000477/0.5196, allocations: 82.78 kB / 0.9538 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006411/0.5202, allocations: 29.7 kB / 0.9538 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.5203, allocations: 346.8 kB / 0.9542 GB, free: 5.586 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01777/0.5381, allocations: 3.634 MB / 0.9577 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01875/0.5569, allocations: 3.684 MB / 0.9613 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03298/0.59, allocations: 5.79 MB / 0.967 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.59, allocations: 0 / 0.967 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04201/0.6321, allocations: 7.55 MB / 0.9743 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.6322, allocations: 93 kB / 0.9744 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03754/0.6698, allocations: 6.846 MB / 0.9811 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/0.6698, allocations: 4 kB / 0.9811 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/0.6847, allocations: 1.697 MB / 0.9828 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.6848, allocations: 0 / 0.9828 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01292/0.6977, allocations: 1.291 MB / 0.984 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/0.6988, allocations: 203.5 kB / 0.9842 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6988, allocations: 4 kB / 0.9842 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04137/0.7402, allocations: 7.481 MB / 0.9915 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03642/0.7767, allocations: 6.827 MB / 0.9982 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7768, allocations: 0 / 0.9982 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.014/0.7908, allocations: 1.693 MB / 0.9999 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.729e-05/0.7909, allocations: 4 kB / 0.9999 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01299/0.8039, allocations: 1.284 MB / 1.001 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/0.805, allocations: 203.5 kB / 1.001 GB, free: 5.23 MB / 0.6511 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.001344/0.8063, allocations: 229 kB / 1.002 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006811/0.807, allocations: 43.5 kB / 1.002 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03191/0.8389, allocations: 6.335 MB / 1.008 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.839, allocations: 4 kB / 1.008 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.839, allocations: 3.938 kB / 1.008 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.8391, allocations: 0 / 1.008 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006202/0.8453, allocations: 6.503 MB / 1.014 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02795/0.8732, allocations: 5.297 MB / 1.019 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01204/0.8853, allocations: 1.459 MB / 1.021 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.8854, allocations: 0 / 1.021 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000623/0.886, allocations: 171.5 kB / 1.021 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.8861, allocations: 4 kB / 1.021 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8861, allocations: 0 / 1.021 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02852/0.9146, allocations: 5.424 MB / 1.026 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.916, allocations: 0.5622 MB / 1.027 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006167/0.9166, allocations: 7.984 kB / 1.027 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01031/0.927, allocations: 1.073 MB / 1.028 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.9272, allocations: 43.91 kB / 1.028 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006609/0.9279, allocations: 175.5 kB / 1.028 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003527/0.9282, allocations: 239.2 kB / 1.028 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9282, allocations: 3.938 kB / 1.028 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003006/0.9313, allocations: 0.5973 MB / 1.029 GB, free: 7.496 MB / 0.6823 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.0006589/0.9319, allocations: 163.2 kB / 1.029 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.04981/0.9817, allocations: 9.676 MB / 1.038 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/0.9818, allocations: 0 / 1.038 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01422/0.996, allocations: 2.736 MB / 1.041 GB, free: 10.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.9977, allocations: 81.39 kB / 1.041 GB, free: 10.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/1.012, allocations: 3.219 MB / 1.044 GB, free: 7.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/1.013, allocations: 0.7923 MB / 1.045 GB, free: 6.746 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003429/1.016, allocations: 0.5528 MB / 1.046 GB, free: 6.195 MB / 0.698 GB Notification: Performance of SimCode: time 1.393e-06/1.016, allocations: 0 / 1.046 GB, free: 6.195 MB / 0.698 GB Notification: Performance of Templates: time 0.6791/1.695, allocations: 36.93 MB / 1.082 GB, free: 141.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)