Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.404/2.404, allocations: 287.9 MB / 302.9 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.001469, allocations: 173.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.4 MB / 0.6301 GB, free: 10.37 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 92.48 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004777, allocations: 12.28 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.151, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8763/1.027, allocations: 209.9 MB / 1.184 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02826/1.056, allocations: 15.77 MB / 1.199 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003086/1.059, allocations: 64 kB / 1.199 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005104/1.064, allocations: 0.9911 MB / 1.2 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.02008/1.084, allocations: 3.213 MB / 1.203 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01218/1.096, allocations: 1.83 MB / 1.205 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0103/1.107, allocations: 3.011 MB / 1.208 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004082/1.111, allocations: 1.32 MB / 1.209 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006792/1.118, allocations: 1.557 MB / 1.211 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003421/1.121, allocations: 0.9714 MB / 1.212 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005377/1.122, allocations: 69.91 kB / 1.212 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007393/1.129, allocations: 1.302 MB / 1.213 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001408/1.131, allocations: 432.8 kB / 1.214 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/1.132, allocations: 433.2 kB / 1.214 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.007302/1.139, allocations: 2.439 MB / 1.216 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.223e-06/1.139, allocations: 0 / 1.216 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.147e-06/1.139, allocations: 4 kB / 1.216 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.158e-05/1.139, allocations: 0 / 1.216 GB, free: 5.805 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.008311/1.148, allocations: 2.076 MB / 1.218 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/1.148, allocations: 8.031 kB / 1.218 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004184/1.152, allocations: 381.1 kB / 1.219 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005765/1.158, allocations: 1.325 MB / 1.22 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/1.158, allocations: 106.7 kB / 1.22 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004695/1.159, allocations: 136 kB / 1.22 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006311/1.165, allocations: 1.501 MB / 1.222 GB, free: 112 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.666e-05/1.165, allocations: 0 / 1.222 GB, free: 112 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/1.165, allocations: 56 kB / 1.222 GB, free: 56 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001675/1.166, allocations: 54.81 kB / 1.222 GB, free: 16 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005715/1.171, allocations: 1.158 MB / 1.223 GB, free: 14.83 MB / 0.7605 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.02165/1.193, allocations: 7.293 MB / 1.23 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/1.195, allocations: 0.8672 MB / 1.231 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009389/1.196, allocations: 0.5616 MB / 1.231 GB, free: 5.379 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/1.196, allocations: 43.22 kB / 1.232 GB, free: 5.328 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=74): time 3.748e-06/1.196, allocations: 0 / 1.232 GB, free: 5.328 MB / 0.7605 GB Notification: Performance of matching and sorting (n=74): time 0.01235/1.209, allocations: 2.19 MB / 1.234 GB, free: 3.066 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.491e-05/1.209, allocations: 60.06 kB / 1.234 GB, free: 2.992 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004899/1.214, allocations: 1.325 MB / 1.235 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002515/1.214, allocations: 41.7 kB / 1.235 GB, free: 1.609 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001561/1.216, allocations: 0.7938 MB / 1.236 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006178/1.216, allocations: 264.2 kB / 1.236 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/1.216, allocations: 16 kB / 1.236 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003088/1.217, allocations: 338 kB / 1.236 GB, free: 196 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/1.218, allocations: 333.9 kB / 1.237 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/1.221, allocations: 0.5677 MB / 1.237 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/1.223, allocations: 410.8 kB / 1.238 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/1.223, allocations: 4 kB / 1.238 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.006856/1.23, allocations: 1.279 MB / 1.239 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001693/1.231, allocations: 1.97 MB / 1.241 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/1.232, allocations: 4 kB / 1.241 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004407/1.236, allocations: 414 kB / 1.241 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/1.238, allocations: 159.8 kB / 1.241 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/1.242, allocations: 2.053 MB / 1.243 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/1.246, allocations: 191 kB / 1.244 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/1.246, allocations: 39.98 kB / 1.244 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.246, allocations: 4 kB / 1.244 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005504/1.251, allocations: 1.06 MB / 1.245 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/1.251, allocations: 8.406 kB / 1.245 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003609/1.255, allocations: 373 kB / 1.245 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/1.257, allocations: 159.8 kB / 1.245 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009164/1.266, allocations: 3.871 MB / 1.249 GB, free: 2.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/1.269, allocations: 179.1 kB / 1.249 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/1.27, allocations: 43.97 kB / 1.249 GB, free: 2.418 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.002011/1.272, allocations: 464.8 kB / 1.25 GB, free: 1.953 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007951/1.272, allocations: 158.1 kB / 1.25 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007542/1.28, allocations: 1.236 MB / 1.251 GB, free: 0.5391 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/1.28, allocations: 11.94 kB / 1.251 GB, free: 0.5273 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.939e-06/1.28, allocations: 0 / 1.251 GB, free: 0.5273 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00654/1.287, allocations: 1.322 MB / 1.252 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008565/1.295, allocations: 2.736 MB / 1.255 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.295, allocations: 4 kB / 1.255 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/1.296, allocations: 103.8 kB / 1.255 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/1.298, allocations: 371.1 kB / 1.255 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/1.298, allocations: 20 kB / 1.255 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/1.301, allocations: 2.05 MB / 1.257 GB, free: 9.652 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.063e-06/1.301, allocations: 8.062 kB / 1.257 GB, free: 9.645 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003234/1.304, allocations: 1.398 MB / 1.259 GB, free: 8.113 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.305, allocations: 342.9 kB / 1.259 GB, free: 7.758 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/1.305, allocations: 23.98 kB / 1.259 GB, free: 7.734 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/1.307, allocations: 115.8 kB / 1.259 GB, free: 7.621 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.307, allocations: 56.39 kB / 1.259 GB, free: 7.566 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.307, allocations: 31.92 kB / 1.259 GB, free: 7.535 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001833/1.309, allocations: 0.8934 MB / 1.26 GB, free: 6.645 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.87e-07/1.309, allocations: 4 kB / 1.26 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003631/1.313, allocations: 0.9094 MB / 1.261 GB, free: 5.73 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/1.314, allocations: 373.1 kB / 1.261 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004898/1.319, allocations: 1.669 MB / 1.263 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.28e-06/1.319, allocations: 0 / 1.263 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/1.32, allocations: 482.9 kB / 1.264 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/1.325, allocations: 0.7786 MB / 1.264 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006316/1.331, allocations: 3.252 MB / 1.267 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/1.333, allocations: 1.379 MB / 1.269 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00196/1.335, allocations: 319.1 kB / 1.269 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/1.335, allocations: 99.42 kB / 1.269 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of SimCode: time 1.725e-06/1.335, allocations: 4 kB / 1.269 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of Templates: time 0.07423/1.409, allocations: 30.57 MB / 1.299 GB, free: 15.01 MB / 0.8386 GB