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.001144/0.001144, allocations: 105.4 kB / 15.7 MB, free: 24 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.001179/0.001179, allocations: 193.2 kB / 16.64 MB, free: 6.594 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.491/1.491, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.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.839/1.839, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001537/0.001537, allocations: 73.69 kB / 0.6723 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2549, allocations: 114.6 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8679/1.123, allocations: 254 MB / 1.032 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02979/1.153, allocations: 17.97 MB / 1.05 GB, free: 3.473 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006555/1.159, allocations: 81.19 kB / 1.05 GB, free: 3.441 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004795/1.164, allocations: 1.096 MB / 1.051 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01441/1.179, allocations: 3.816 MB / 1.055 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00641/1.185, allocations: 1.829 MB / 1.056 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009845/1.195, allocations: 5.036 MB / 1.061 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/1.199, allocations: 1.831 MB / 1.063 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006876/1.206, allocations: 2.172 MB / 1.065 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/1.21, allocations: 1.53 MB / 1.067 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005194/1.21, allocations: 184 kB / 1.067 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006995/1.217, allocations: 2.526 MB / 1.069 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008367/1.218, allocations: 0.6035 MB / 1.07 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001989/1.22, allocations: 1.108 MB / 1.071 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.007831/1.228, allocations: 3.7 MB / 1.075 GB, free: 13.42 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/1.228, allocations: 4 kB / 1.075 GB, free: 13.42 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.264e-06/1.228, allocations: 3.938 kB / 1.075 GB, free: 13.41 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.767e-05/1.228, allocations: 0 / 1.075 GB, free: 13.41 MB / 0.795 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.004867/1.233, allocations: 2.463 MB / 1.077 GB, free: 10.89 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.233, allocations: 16.03 kB / 1.077 GB, free: 10.88 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/1.235, allocations: 377 kB / 1.077 GB, free: 10.51 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/1.237, allocations: 1.476 MB / 1.079 GB, free: 8.977 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/1.237, allocations: 106.7 kB / 1.079 GB, free: 8.871 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/1.237, allocations: 143.9 kB / 1.079 GB, free: 8.73 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/1.24, allocations: 1.507 MB / 1.081 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/1.24, allocations: 3.938 kB / 1.081 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/1.24, allocations: 56 kB / 1.081 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.356e-05/1.241, allocations: 58.62 kB / 1.081 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/1.243, allocations: 1.136 MB / 1.082 GB, free: 5.898 MB / 0.795 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.009057/1.252, allocations: 7.18 MB / 1.089 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/1.253, allocations: 0.8284 MB / 1.09 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/1.254, allocations: 434.6 kB / 1.09 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008745/1.255, allocations: 0.7201 MB / 1.091 GB, free: 12 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.255, allocations: 47.22 kB / 1.091 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=74): time 2.755e-06/1.255, allocations: 4 kB / 1.091 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of matching and sorting (n=74): time 0.006332/1.261, allocations: 2.067 MB / 1.093 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.261, allocations: 60.06 kB / 1.093 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/1.263, allocations: 1.313 MB / 1.094 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-05/1.263, allocations: 41.7 kB / 1.094 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005904/1.264, allocations: 0.7977 MB / 1.095 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/1.264, allocations: 260.3 kB / 1.095 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/1.264, allocations: 178.7 kB / 1.095 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.264, allocations: 334 kB / 1.096 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/1.265, allocations: 336.7 kB / 1.096 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000765/1.266, allocations: 0.5674 MB / 1.097 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/1.267, allocations: 0.8751 MB / 1.097 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.267, allocations: 0 / 1.097 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002458/1.27, allocations: 1.267 MB / 1.099 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.27, allocations: 8 kB / 1.099 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.27, allocations: 4 kB / 1.099 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/1.271, allocations: 406.5 kB / 1.099 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/1.272, allocations: 155.7 kB / 1.099 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/1.274, allocations: 2.05 MB / 1.101 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.275, allocations: 110.9 kB / 1.101 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/1.275, allocations: 39.98 kB / 1.101 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001233/1.276, allocations: 0.6307 MB / 1.102 GB, free: 84 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007647/1.277, allocations: 0.563 MB / 1.102 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001307/1.278, allocations: 0.8595 MB / 1.103 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.407e-06/1.278, allocations: 0 / 1.103 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002149/1.28, allocations: 1.201 MB / 1.104 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.28, allocations: 12.03 kB / 1.105 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/1.28, allocations: 4 kB / 1.105 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/1.282, allocations: 358.1 kB / 1.105 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/1.282, allocations: 151.8 kB / 1.105 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/1.286, allocations: 4.211 MB / 1.109 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.287, allocations: 87.47 kB / 1.109 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/1.287, allocations: 43.92 kB / 1.109 GB, free: 8.125 MB / 0.8262 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.0003176/1.287, allocations: 236.5 kB / 1.109 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/1.288, allocations: 154.1 kB / 1.11 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/1.291, allocations: 1.178 MB / 1.111 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/1.291, allocations: 12 kB / 1.111 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.291, allocations: 0 / 1.111 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002307/1.293, allocations: 1.283 MB / 1.112 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004879/1.298, allocations: 2.754 MB / 1.115 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/1.298, allocations: 4 kB / 1.115 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/1.298, allocations: 95.88 kB / 1.115 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/1.3, allocations: 369.2 kB / 1.115 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/1.3, allocations: 15.98 kB / 1.115 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/1.301, allocations: 2.034 MB / 1.117 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.301, allocations: 11.95 kB / 1.117 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/1.303, allocations: 1.207 MB / 1.118 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006406/1.304, allocations: 327 kB / 1.119 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/1.304, allocations: 12 kB / 1.119 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008844/1.305, allocations: 47.95 kB / 1.119 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.305, allocations: 48.5 kB / 1.119 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.292e-05/1.306, allocations: 31.92 kB / 1.119 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001479/1.307, allocations: 0.8934 MB / 1.12 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/1.307, allocations: 0 / 1.12 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002859/1.31, allocations: 0.8804 MB / 1.121 GB, free: 12.18 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,20), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/1.311, allocations: 388.2 kB / 1.121 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003745/1.315, allocations: 1.661 MB / 1.123 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.315, allocations: 4 kB / 1.123 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/1.316, allocations: 465.7 kB / 1.123 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003988/1.32, allocations: 0.7926 MB / 1.124 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/1.326, allocations: 2.633 MB / 1.126 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/1.327, allocations: 1.34 MB / 1.128 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001622/1.329, allocations: 323 kB / 1.128 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/1.329, allocations: 95.42 kB / 1.128 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of SimCode: time 1.102e-06/1.329, allocations: 7.938 kB / 1.128 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of Templates: time 0.0646/1.394, allocations: 32.61 MB / 1.16 GB, free: 4.234 MB / 0.8731 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)