Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 104.6 kB / 16.36 MB, free: 6.312 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.001738/0.001738, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.457/1.457, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001603/0.001603, allocations: 71.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2117, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.6679/0.8796, allocations: 254 MB / 1.033 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02506/0.9047, allocations: 17.96 MB / 1.05 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/0.9085, allocations: 79.56 kB / 1.05 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003437/0.912, allocations: 1.091 MB / 1.051 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.9229, allocations: 3.821 MB / 1.055 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005487/0.9284, allocations: 1.82 MB / 1.057 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008015/0.9365, allocations: 5.046 MB / 1.062 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003555/0.9401, allocations: 1.831 MB / 1.064 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00578/0.9459, allocations: 2.167 MB / 1.066 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00335/0.9493, allocations: 1.526 MB / 1.067 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000761/0.95, allocations: 184 kB / 1.067 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006036/0.9561, allocations: 2.534 MB / 1.07 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.9574, allocations: 0.588 MB / 1.071 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00277/0.9602, allocations: 1.116 MB / 1.072 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007744/0.968, allocations: 3.7 MB / 1.075 GB, free: 248 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.968, allocations: 0 / 1.075 GB, free: 248 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.968, allocations: 0 / 1.075 GB, free: 248 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001162/0.9682, allocations: 0 / 1.075 GB, free: 248 kB / 0.8575 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.006226/0.9744, allocations: 2.482 MB / 1.078 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.9745, allocations: 12.03 kB / 1.078 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.9765, allocations: 373.1 kB / 1.078 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003395/0.9799, allocations: 1.472 MB / 1.079 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.98, allocations: 106.7 kB / 1.08 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.9803, allocations: 140 kB / 1.08 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/0.9834, allocations: 1.507 MB / 1.081 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.9834, allocations: 0 / 1.081 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.9835, allocations: 60 kB / 1.081 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.868e-05/0.9836, allocations: 58.56 kB / 1.081 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.9861, allocations: 1.138 MB / 1.082 GB, free: 8.723 MB / 0.8731 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.009738/0.9958, allocations: 7.193 MB / 1.089 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.9973, allocations: 0.813 MB / 1.09 GB, free: 120 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008337/0.9981, allocations: 438.6 kB / 1.091 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009056/0.9991, allocations: 0.7162 MB / 1.091 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.9991, allocations: 43.22 kB / 1.091 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=74): time 5.44e-06/0.9991, allocations: 4 kB / 1.091 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=74): time 0.00692/1.006, allocations: 2.078 MB / 1.093 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/1.006, allocations: 56.06 kB / 1.093 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002601/1.009, allocations: 1.309 MB / 1.095 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/1.009, allocations: 45.7 kB / 1.095 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000668/1.01, allocations: 0.7977 MB / 1.096 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/1.01, allocations: 260.2 kB / 1.096 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/1.01, allocations: 174.5 kB / 1.096 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.01, allocations: 337.9 kB / 1.096 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/1.011, allocations: 338 kB / 1.097 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008294/1.012, allocations: 0.5591 MB / 1.097 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/1.013, allocations: 0.8712 MB / 1.098 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.013, allocations: 0 / 1.098 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002856/1.016, allocations: 1.269 MB / 1.099 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/1.016, allocations: 8 kB / 1.099 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/1.016, allocations: 4 kB / 1.099 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/1.018, allocations: 421.5 kB / 1.1 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/1.019, allocations: 151.8 kB / 1.1 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/1.021, allocations: 2.061 MB / 1.102 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.022, allocations: 103 kB / 1.102 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.022, allocations: 36 kB / 1.102 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001275/1.023, allocations: 0.6385 MB / 1.103 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008344/1.024, allocations: 0.5514 MB / 1.103 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001395/1.026, allocations: 0.8595 MB / 1.104 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/1.026, allocations: 0 / 1.104 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002488/1.028, allocations: 1.205 MB / 1.105 GB, free: 132 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.028, allocations: 12 kB / 1.105 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.028, allocations: 4 kB / 1.105 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/1.03, allocations: 364.8 kB / 1.106 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/1.031, allocations: 151.7 kB / 1.106 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/1.034, allocations: 4.2 MB / 1.11 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.036, allocations: 93.22 kB / 1.11 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/1.036, allocations: 39.98 kB / 1.11 GB, free: 10.98 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,21), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000447/1.036, allocations: 225.1 kB / 1.11 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006323/1.037, allocations: 154.1 kB / 1.11 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/1.04, allocations: 1.189 MB / 1.111 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002619/1.043, allocations: 1.287 MB / 1.113 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.043, allocations: 1.25 kB / 1.113 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009278/1.044, allocations: 319.1 kB / 1.113 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003821/1.044, allocations: 12 kB / 1.113 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.045, allocations: 44.48 kB / 1.113 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/1.046, allocations: 52.58 kB / 1.113 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00273/1.048, allocations: 1.151 MB / 1.114 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002423/1.051, allocations: 1.445 MB / 1.116 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005974/1.051, allocations: 341 kB / 1.116 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001509/1.053, allocations: 0.8895 MB / 1.117 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of Backend: time 4.11e-07/1.053, allocations: 3.938 kB / 1.117 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005851/1.059, allocations: 2.049 MB / 1.119 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of SimCode: time 0.007507/1.066, allocations: 3.771 MB / 1.122 GB, free: 13.91 MB / 0.92 GB Notification: Performance of Templates: time 0.4863/1.553, allocations: 38.06 MB / 1.16 GB, free: 302.8 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)