Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.006178/0.006179, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.0014/0.001401, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.443/1.443, allocations: 205.1 MB / 222.5 MB, free: 4.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.587/1.587, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.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.001411/0.001411, allocations: 78.44 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2441, allocations: 104.7 MB / 0.8281 GB, free: 160 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8799/1.124, allocations: 254.2 MB / 1.076 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02505/1.149, allocations: 18.04 MB / 1.094 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003993/1.153, allocations: 83.5 kB / 1.094 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003588/1.157, allocations: 1.122 MB / 1.095 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/1.168, allocations: 3.994 MB / 1.099 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00526/1.173, allocations: 1.838 MB / 1.101 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009197/1.182, allocations: 5.125 MB / 1.106 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003831/1.186, allocations: 1.85 MB / 1.108 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006734/1.193, allocations: 2.25 MB / 1.11 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003442/1.196, allocations: 1.532 MB / 1.111 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006744/1.197, allocations: 184 kB / 1.112 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00585/1.203, allocations: 2.538 MB / 1.114 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/1.204, allocations: 0.6035 MB / 1.115 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002751/1.207, allocations: 1.12 MB / 1.116 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009768/1.216, allocations: 3.734 MB / 1.119 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.216, allocations: 0 / 1.119 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.903e-06/1.216, allocations: 0 / 1.119 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001447/1.217, allocations: 0 / 1.119 GB, free: 2.129 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.007224/1.224, allocations: 2.483 MB / 1.122 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/1.224, allocations: 8.031 kB / 1.122 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/1.226, allocations: 369.2 kB / 1.122 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/1.229, allocations: 1.484 MB / 1.124 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/1.229, allocations: 106.7 kB / 1.124 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/1.229, allocations: 136 kB / 1.124 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/1.231, allocations: 1.511 MB / 1.125 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/1.231, allocations: 7.875 kB / 1.125 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/1.231, allocations: 63.98 kB / 1.125 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/1.232, allocations: 50.66 kB / 1.125 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/1.234, allocations: 1.142 MB / 1.127 GB, free: 10.59 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.00865/1.242, allocations: 7.192 MB / 1.134 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/1.244, allocations: 0.816 MB / 1.134 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/1.244, allocations: 438.5 kB / 1.135 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009359/1.245, allocations: 0.724 MB / 1.135 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/1.245, allocations: 39.22 kB / 1.136 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=74): time 3.286e-06/1.245, allocations: 0 / 1.136 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74): time 0.006611/1.252, allocations: 2.063 MB / 1.138 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/1.252, allocations: 60.06 kB / 1.138 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/1.254, allocations: 1.325 MB / 1.139 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/1.254, allocations: 41.7 kB / 1.139 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006922/1.255, allocations: 0.7977 MB / 1.14 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000303/1.255, allocations: 264.2 kB / 1.14 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/1.255, allocations: 174.5 kB / 1.14 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.256, allocations: 345.9 kB / 1.14 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/1.256, allocations: 332.6 kB / 1.141 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008236/1.257, allocations: 0.5591 MB / 1.141 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/1.259, allocations: 0.8673 MB / 1.142 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.259, allocations: 0 / 1.142 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002574/1.261, allocations: 1.267 MB / 1.143 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/1.261, allocations: 10.66 kB / 1.143 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/1.261, allocations: 7.984 kB / 1.143 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/1.263, allocations: 406.2 kB / 1.144 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/1.264, allocations: 147.8 kB / 1.144 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/1.266, allocations: 2.054 MB / 1.146 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.267, allocations: 111.2 kB / 1.146 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.267, allocations: 43.98 kB / 1.146 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001521/1.269, allocations: 0.6346 MB / 1.147 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008538/1.27, allocations: 0.5474 MB / 1.147 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001418/1.271, allocations: 0.8517 MB / 1.148 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.242e-06/1.271, allocations: 8 kB / 1.148 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002684/1.274, allocations: 1.201 MB / 1.149 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.274, allocations: 8 kB / 1.149 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.274, allocations: 4 kB / 1.149 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/1.276, allocations: 362.8 kB / 1.15 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/1.276, allocations: 155.7 kB / 1.15 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00358/1.28, allocations: 4.183 MB / 1.154 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/1.281, allocations: 95.27 kB / 1.154 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.701e-05/1.281, allocations: 36.06 kB / 1.154 GB, free: 12.86 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.0003125/1.281, allocations: 237.2 kB / 1.154 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/1.282, allocations: 158.1 kB / 1.154 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/1.285, allocations: 1.192 MB / 1.156 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.285, allocations: 8 kB / 1.156 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/1.285, allocations: 0 / 1.156 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002327/1.287, allocations: 1.283 MB / 1.157 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004403/1.291, allocations: 2.746 MB / 1.159 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.291, allocations: 4.281 kB / 1.159 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/1.292, allocations: 103.8 kB / 1.16 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/1.293, allocations: 352.6 kB / 1.16 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/1.293, allocations: 16 kB / 1.16 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/1.295, allocations: 2.028 MB / 1.162 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/1.295, allocations: 4 kB / 1.162 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/1.297, allocations: 1.203 MB / 1.163 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/1.297, allocations: 334.9 kB / 1.163 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/1.298, allocations: 27.98 kB / 1.163 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008436/1.298, allocations: 42.88 kB / 1.163 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.299, allocations: 48.5 kB / 1.163 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/1.299, allocations: 39.92 kB / 1.164 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001213/1.3, allocations: 0.8936 MB / 1.164 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.11e-07/1.3, allocations: 0 / 1.164 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002162/1.302, allocations: 0.8898 MB / 1.165 GB, free: 0.9102 MB / 0.9044 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.0007991/1.303, allocations: 386.5 kB / 1.166 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003374/1.306, allocations: 1.645 MB / 1.167 GB, free: 14.86 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.306, allocations: 0 / 1.167 GB, free: 14.86 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009852/1.307, allocations: 474.4 kB / 1.168 GB, free: 14.41 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/1.311, allocations: 0.7894 MB / 1.168 GB, free: 13.63 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/1.315, allocations: 2.646 MB / 1.171 GB, free: 10.93 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009409/1.316, allocations: 1.344 MB / 1.172 GB, free: 9.555 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001208/1.317, allocations: 333 kB / 1.173 GB, free: 9.23 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/1.317, allocations: 99.36 kB / 1.173 GB, free: 9.133 MB / 0.92 GB Notification: Performance of SimCode: time 2.715e-06/1.317, allocations: 0 / 1.173 GB, free: 9.133 MB / 0.92 GB Notification: Performance of Templates: time 0.0559/1.373, allocations: 32.94 MB / 1.205 GB, free: 8.648 MB / 0.9512 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)