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.001138/0.001139, allocations: 108 kB / 15.61 MB, free: 152 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.001175/0.001175, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.416/1.416, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.745/1.745, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001472/0.001473, allocations: 78.73 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2494, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8329/1.082, allocations: 253.9 MB / 1.031 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02854/1.111, allocations: 17.97 MB / 1.049 GB, free: 4.008 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004622/1.116, allocations: 77.94 kB / 1.049 GB, free: 3.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003991/1.12, allocations: 1.086 MB / 1.05 GB, free: 3.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01329/1.133, allocations: 3.833 MB / 1.054 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006028/1.139, allocations: 1.796 MB / 1.056 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009055/1.148, allocations: 5.04 MB / 1.06 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003394/1.152, allocations: 1.819 MB / 1.062 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006447/1.158, allocations: 2.166 MB / 1.064 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003444/1.162, allocations: 1.527 MB / 1.066 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005065/1.162, allocations: 184 kB / 1.066 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006704/1.169, allocations: 2.538 MB / 1.069 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007757/1.17, allocations: 0.588 MB / 1.069 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001951/1.172, allocations: 1.112 MB / 1.07 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.008099/1.18, allocations: 3.65 MB / 1.074 GB, free: 14.04 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/1.18, allocations: 3.938 kB / 1.074 GB, free: 14.03 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.464e-06/1.18, allocations: 4 kB / 1.074 GB, free: 14.03 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.916e-05/1.18, allocations: 0 / 1.074 GB, free: 14.03 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.005441/1.185, allocations: 2.483 MB / 1.076 GB, free: 11.49 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.185, allocations: 8.031 kB / 1.076 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/1.187, allocations: 373 kB / 1.077 GB, free: 11.11 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/1.19, allocations: 1.386 MB / 1.078 GB, free: 9.672 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/1.19, allocations: 114.6 kB / 1.078 GB, free: 9.559 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/1.19, allocations: 153 kB / 1.078 GB, free: 9.41 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/1.193, allocations: 1.499 MB / 1.08 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/1.193, allocations: 0 / 1.08 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/1.193, allocations: 63.94 kB / 1.08 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/1.193, allocations: 58.62 kB / 1.08 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/1.195, allocations: 1.138 MB / 1.081 GB, free: 6.578 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.009325/1.204, allocations: 7.243 MB / 1.088 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/1.206, allocations: 0.8284 MB / 1.089 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007033/1.206, allocations: 437.5 kB / 1.089 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000908/1.207, allocations: 0.7162 MB / 1.09 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.207, allocations: 43.22 kB / 1.09 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=74): time 3.116e-06/1.207, allocations: 4 kB / 1.09 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of matching and sorting (n=74): time 0.006751/1.214, allocations: 2.071 MB / 1.092 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/1.214, allocations: 60.06 kB / 1.092 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/1.216, allocations: 1.309 MB / 1.093 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/1.216, allocations: 41.7 kB / 1.093 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007054/1.217, allocations: 0.8018 MB / 1.094 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/1.217, allocations: 252.3 kB / 1.094 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/1.218, allocations: 186.5 kB / 1.094 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.218, allocations: 337.9 kB / 1.095 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006119/1.218, allocations: 336.6 kB / 1.095 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007819/1.219, allocations: 0.5634 MB / 1.096 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/1.221, allocations: 0.8673 MB / 1.097 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/1.221, allocations: 4 kB / 1.097 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002708/1.223, allocations: 1.267 MB / 1.098 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/1.223, allocations: 8 kB / 1.098 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.223, allocations: 4 kB / 1.098 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/1.225, allocations: 406.5 kB / 1.098 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/1.226, allocations: 151.8 kB / 1.098 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/1.228, allocations: 2.055 MB / 1.1 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.229, allocations: 110.9 kB / 1.1 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/1.229, allocations: 36 kB / 1.1 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001202/1.23, allocations: 0.6378 MB / 1.101 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007785/1.231, allocations: 0.563 MB / 1.102 GB, free: 48 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001344/1.232, allocations: 0.8596 MB / 1.102 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/1.232, allocations: 0 / 1.102 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002332/1.235, allocations: 1.205 MB / 1.104 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.235, allocations: 4 kB / 1.104 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.235, allocations: 8 kB / 1.104 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/1.236, allocations: 360.7 kB / 1.104 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/1.237, allocations: 155.8 kB / 1.104 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/1.24, allocations: 4.204 MB / 1.108 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.242, allocations: 87.28 kB / 1.108 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/1.242, allocations: 39.98 kB / 1.108 GB, free: 8.75 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.0003256/1.242, allocations: 236.7 kB / 1.109 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/1.242, allocations: 154.1 kB / 1.109 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/1.245, allocations: 1.191 MB / 1.11 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/1.245, allocations: 11.98 kB / 1.11 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/1.245, allocations: 0 / 1.11 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00235/1.248, allocations: 1.267 MB / 1.111 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005198/1.253, allocations: 2.762 MB / 1.114 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.253, allocations: 4.281 kB / 1.114 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/1.253, allocations: 107.9 kB / 1.114 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/1.255, allocations: 361.3 kB / 1.114 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/1.255, allocations: 16 kB / 1.114 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/1.257, allocations: 2.032 MB / 1.116 GB, free: 328 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.257, allocations: 4 kB / 1.116 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/1.259, allocations: 1.206 MB / 1.117 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008855/1.26, allocations: 327 kB / 1.118 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004084/1.26, allocations: 12 kB / 1.118 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.261, allocations: 43.95 kB / 1.118 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/1.261, allocations: 60.42 kB / 1.118 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-05/1.262, allocations: 31.92 kB / 1.118 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001589/1.263, allocations: 0.8895 MB / 1.119 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/1.263, allocations: 0 / 1.119 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002838/1.266, allocations: 0.8804 MB / 1.12 GB, free: 12.8 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.001006/1.267, allocations: 392.1 kB / 1.12 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004047/1.271, allocations: 1.719 MB / 1.122 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.271, allocations: 0.75 kB / 1.122 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/1.272, allocations: 477.7 kB / 1.122 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004439/1.277, allocations: 0.7973 MB / 1.123 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/1.282, allocations: 2.669 MB / 1.126 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/1.284, allocations: 1.344 MB / 1.127 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001725/1.285, allocations: 326.8 kB / 1.127 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/1.286, allocations: 91.42 kB / 1.127 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of SimCode: time 1.483e-06/1.286, allocations: 0 / 1.127 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of Templates: time 0.06445/1.35, allocations: 32.63 MB / 1.159 GB, free: 4.73 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)