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.0008418/0.0008416, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007146/0.007147, allocations: 169.6 kB / 16.27 MB, free: 6.648 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.679/1.679, allocations: 205.4 MB / 222.4 MB, free: 5.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.783/1.783, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005654/0.0005655, allocations: 16.56 kB / 0.6743 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2967, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.9647/1.261, allocations: 248.1 MB / 1.03 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02633/1.288, allocations: 17.87 MB / 1.048 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004505/1.292, allocations: 68.75 kB / 1.048 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003924/1.296, allocations: 0.9062 MB / 1.049 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01481/1.311, allocations: 3.57 MB / 1.052 GB, free: 9.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006555/1.318, allocations: 1.652 MB / 1.054 GB, free: 7.812 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01181/1.33, allocations: 6.762 MB / 1.06 GB, free: 4.125 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003515/1.333, allocations: 1.507 MB / 1.062 GB, free: 3.188 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006083/1.339, allocations: 1.83 MB / 1.064 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004625/1.344, allocations: 1.484 MB / 1.065 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0005745/1.345, allocations: 68 kB / 1.065 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007811/1.352, allocations: 2.701 MB / 1.068 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001127/1.354, allocations: 474.1 kB / 1.068 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002191/1.356, allocations: 0.9887 MB / 1.069 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.007834/1.364, allocations: 3.633 MB / 1.073 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.364, allocations: 0 / 1.073 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.925e-06/1.364, allocations: 0 / 1.073 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.359e-05/1.364, allocations: 4 kB / 1.073 GB, free: 8.277 MB / 0.7794 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.0045/1.368, allocations: 2.09 MB / 1.075 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/1.368, allocations: 12.03 kB / 1.075 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/1.37, allocations: 373.1 kB / 1.075 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/1.373, allocations: 1.417 MB / 1.076 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.288e-05/1.373, allocations: 110.7 kB / 1.077 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/1.373, allocations: 136 kB / 1.077 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/1.376, allocations: 1.507 MB / 1.078 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/1.376, allocations: 11.92 kB / 1.078 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/1.376, allocations: 63.98 kB / 1.078 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-05/1.376, allocations: 54.64 kB / 1.078 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/1.378, allocations: 1.17 MB / 1.079 GB, free: 1.156 MB / 0.7794 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.009223/1.388, allocations: 7.192 MB / 1.086 GB, free: 9.398 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/1.389, allocations: 0.8347 MB / 1.087 GB, free: 8.539 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007522/1.39, allocations: 450.6 kB / 1.088 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009464/1.391, allocations: 0.7279 MB / 1.088 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/1.391, allocations: 39.22 kB / 1.088 GB, free: 7.172 MB / 0.795 GB Notification: Performance of pre-optimization done (n=74): time 3.075e-06/1.391, allocations: 4 kB / 1.088 GB, free: 7.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=74): time 0.006649/1.397, allocations: 2.145 MB / 1.091 GB, free: 4.953 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/1.398, allocations: 60.06 kB / 1.091 GB, free: 4.883 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/1.399, allocations: 1.305 MB / 1.092 GB, free: 3.566 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/1.4, allocations: 49.69 kB / 1.092 GB, free: 3.512 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006493/1.4, allocations: 0.794 MB / 1.093 GB, free: 2.707 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/1.401, allocations: 260.3 kB / 1.093 GB, free: 2.449 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/1.401, allocations: 77.67 kB / 1.093 GB, free: 2.367 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.401, allocations: 337.9 kB / 1.093 GB, free: 2.031 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006045/1.401, allocations: 329.8 kB / 1.094 GB, free: 1.711 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008257/1.402, allocations: 0.583 MB / 1.094 GB, free: 1.035 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/1.404, allocations: 0.8946 MB / 1.095 GB, free: 76 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/1.404, allocations: 4 kB / 1.095 GB, free: 72 kB / 0.795 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002629/1.406, allocations: 1.287 MB / 1.096 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001695/1.406, allocations: 235.2 kB / 1.097 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.406, allocations: 4 kB / 1.097 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/1.408, allocations: 426 kB / 1.097 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/1.409, allocations: 155.8 kB / 1.097 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/1.411, allocations: 2.062 MB / 1.099 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.412, allocations: 191 kB / 1.099 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.363e-05/1.412, allocations: 40 kB / 1.099 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/1.412, allocations: 4 kB / 1.099 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001896/1.414, allocations: 1.06 MB / 1.1 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.414, allocations: 7.938 kB / 1.1 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/1.416, allocations: 382.6 kB / 1.101 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/1.416, allocations: 151.8 kB / 1.101 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/1.42, allocations: 3.864 MB / 1.105 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/1.421, allocations: 183.1 kB / 1.105 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/1.421, allocations: 35.98 kB / 1.105 GB, free: 5.547 MB / 0.8106 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.0008883/1.422, allocations: 460.9 kB / 1.105 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/1.422, allocations: 158.1 kB / 1.106 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/1.425, allocations: 1.218 MB / 1.107 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/1.425, allocations: 8 kB / 1.107 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.425, allocations: 3.938 kB / 1.107 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002331/1.427, allocations: 1.294 MB / 1.108 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004583/1.432, allocations: 2.777 MB / 1.111 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.432, allocations: 0 / 1.111 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/1.433, allocations: 107.8 kB / 1.111 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/1.434, allocations: 378.4 kB / 1.111 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/1.434, allocations: 16 kB / 1.111 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/1.436, allocations: 2.027 MB / 1.113 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.436, allocations: 11.91 kB / 1.113 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/1.438, allocations: 1.229 MB / 1.114 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007221/1.439, allocations: 350.8 kB / 1.115 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/1.439, allocations: 12 kB / 1.115 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.44, allocations: 111.9 kB / 1.115 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.44, allocations: 56.36 kB / 1.115 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/1.44, allocations: 31.98 kB / 1.115 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00125/1.441, allocations: 0.8817 MB / 1.116 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/1.441, allocations: 4 kB / 1.116 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002601/1.444, allocations: 0.9037 MB / 1.117 GB, free: 9.148 MB / 0.8262 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.000941/1.445, allocations: 376.5 kB / 1.117 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003391/1.448, allocations: 1.68 MB / 1.119 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.448, allocations: 0 / 1.119 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/1.449, allocations: 478.7 kB / 1.119 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004667/1.454, allocations: 0.7872 MB / 1.12 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004967/1.459, allocations: 3.352 MB / 1.123 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008993/1.46, allocations: 1.344 MB / 1.124 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00151/1.461, allocations: 327.2 kB / 1.125 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/1.462, allocations: 95.42 kB / 1.125 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of SimCode: time 8.92e-07/1.462, allocations: 0 / 1.125 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of Templates: time 0.05443/1.516, allocations: 31.06 MB / 1.155 GB, free: 1.969 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: