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.00135/0.00135, allocations: 108 kB / 15.61 MB, free: 152 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.00116/0.00116, allocations: 194.1 kB / 16.53 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.84 kB / 0.912 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3263, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004805/0.3312, allocations: 2.841 MB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004817/0.336, allocations: 2.963 MB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.3363, allocations: 4 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.3367, allocations: 71.58 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007076/0.3374, allocations: 222.1 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.339, allocations: 0.6033 MB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008612/0.3399, allocations: 0.5212 MB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.3402, allocations: 119.4 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.3405, allocations: 191.4 kB / 1.076 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.3408, allocations: 219 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.124e-05/0.3409, allocations: 36 kB / 1.076 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008742/0.3418, allocations: 395.7 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.3419, allocations: 95.61 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.3422, allocations: 219 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.3434, allocations: 0.7167 MB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3434, allocations: 0 / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.336e-06/0.3434, allocations: 0 / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.3434, allocations: 7.922 kB / 1.077 GB, free: 1.18 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.001291/0.3447, allocations: 0.7478 MB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3448, allocations: 12.03 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1023/0.4471, allocations: 12.21 MB / 1.09 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.4494, allocations: 0.913 MB / 1.091 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.4495, allocations: 20.94 kB / 1.091 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009308/0.4505, allocations: 36.38 kB / 1.091 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/0.467, allocations: 3.738 MB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.467, allocations: 0 / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/0.4674, allocations: 15.94 kB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.4675, allocations: 8 kB / 1.094 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.4825, allocations: 2.969 MB / 1.097 GB, free: 12.4 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.02279/0.5053, allocations: 17.16 MB / 1.114 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01507/0.5204, allocations: 2.938 MB / 1.117 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0149/0.5354, allocations: 2.796 MB / 1.12 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.5356, allocations: 31.97 kB / 1.12 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.5356, allocations: 38.5 kB / 1.12 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 2.614e-06/0.5356, allocations: 0 / 1.12 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.04735/0.583, allocations: 8.551 MB / 1.128 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.5831, allocations: 51.41 kB / 1.128 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.5836, allocations: 341.7 kB / 1.128 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0006277/0.5842, allocations: 29.7 kB / 1.128 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.5845, allocations: 200.5 kB / 1.129 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000475/0.585, allocations: 82.83 kB / 1.129 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001765/0.5867, allocations: 472.9 kB / 1.129 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.587, allocations: 350.8 kB / 1.13 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02041/0.6074, allocations: 3.897 MB / 1.133 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02046/0.6279, allocations: 3.932 MB / 1.137 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0335/0.6614, allocations: 6.2 MB / 1.143 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.6614, allocations: 0 / 1.143 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0421/0.7036, allocations: 8.041 MB / 1.151 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.7036, allocations: 9.562 kB / 1.151 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0374/0.741, allocations: 7.287 MB / 1.158 GB, free: 10.33 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.7411, allocations: 4 kB / 1.158 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01456/0.7557, allocations: 1.916 MB / 1.16 GB, free: 8.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.7557, allocations: 0 / 1.16 GB, free: 8.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01346/0.7692, allocations: 1.51 MB / 1.162 GB, free: 6.895 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000665/0.7699, allocations: 207.5 kB / 1.162 GB, free: 6.691 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01977/0.7896, allocations: 3.985 MB / 1.166 GB, free: 2.699 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01969/0.8094, allocations: 3.927 MB / 1.17 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03329/0.8427, allocations: 6.196 MB / 1.176 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.971e-06/0.8428, allocations: 0 / 1.176 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04262/0.8854, allocations: 8.021 MB / 1.183 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.8855, allocations: 8 kB / 1.183 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03814/0.9236, allocations: 7.276 MB / 1.191 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.9237, allocations: 4 kB / 1.191 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01493/0.9386, allocations: 1.912 MB / 1.192 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.9387, allocations: 3.938 kB / 1.192 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0134/0.9521, allocations: 1.502 MB / 1.194 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008385/0.9529, allocations: 207.5 kB / 1.194 GB, free: 5.602 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.001183/0.9541, allocations: 200.7 kB / 1.194 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000648/0.9548, allocations: 27.62 kB / 1.194 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03261/0.9874, allocations: 6.719 MB / 1.201 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.9875, allocations: 4 kB / 1.201 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.9875, allocations: 0 / 1.201 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.9875, allocations: 0 / 1.201 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005922/0.9934, allocations: 6.483 MB / 1.207 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02895/1.022, allocations: 5.629 MB / 1.213 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01199/1.034, allocations: 1.627 MB / 1.214 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/1.034, allocations: 0 / 1.214 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000396/1.035, allocations: 175.5 kB / 1.214 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.035, allocations: 4 kB / 1.214 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.035, allocations: 0 / 1.214 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02852/1.063, allocations: 5.779 MB / 1.22 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.065, allocations: 0.5622 MB / 1.221 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005131/1.065, allocations: 8 kB / 1.221 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01139/1.077, allocations: 1.257 MB / 1.222 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/1.077, allocations: 39.91 kB / 1.222 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008471/1.078, allocations: 175.6 kB / 1.222 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003847/1.078, allocations: 235.2 kB / 1.222 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.81e-07/1.078, allocations: 0 / 1.222 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003638/1.082, allocations: 0.5934 MB / 1.223 GB, free: 6.531 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.0007162/1.083, allocations: 171.1 kB / 1.223 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05263/1.135, allocations: 10.3 MB / 1.233 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.135, allocations: 3.938 kB / 1.233 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01521/1.15, allocations: 2.907 MB / 1.236 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/1.152, allocations: 97.31 kB / 1.236 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/1.168, allocations: 3.229 MB / 1.239 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/1.168, allocations: 0.7962 MB / 1.24 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01174/1.18, allocations: 1.653 MB / 1.242 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002761/1.183, allocations: 0.4943 MB / 1.242 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/1.183, allocations: 0 / 1.242 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of Templates: time 0.61/1.793, allocations: 84.81 MB / 1.325 GB, free: 129 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)