Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.883/1.883, allocations: 287.5 MB / 302.6 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 186.4 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 0.6299 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008114/0.0008114, allocations: 97.33 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004403, allocations: 12.09 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2231, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.7019/0.925, allocations: 259.4 MB / 1.232 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.03525/0.9603, allocations: 22.41 MB / 1.254 GB, free: 1.918 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005375/0.9657, allocations: 95.38 kB / 1.254 GB, free: 1.824 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004364/0.9701, allocations: 1.087 MB / 1.255 GB, free: 0.7305 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.9819, allocations: 3.802 MB / 1.259 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00662/0.9885, allocations: 1.944 MB / 1.261 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01248/1.001, allocations: 8.247 MB / 1.269 GB, free: 2.715 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004244/1.005, allocations: 2.161 MB / 1.271 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007086/1.012, allocations: 2.657 MB / 1.273 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004154/1.017, allocations: 2.039 MB / 1.275 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0007226/1.017, allocations: 108 kB / 1.276 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007049/1.024, allocations: 2.385 MB / 1.278 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001527/1.026, allocations: 0.7708 MB / 1.279 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/1.027, allocations: 0.6018 MB / 1.279 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006217/1.034, allocations: 4.08 MB / 1.283 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.034, allocations: 7.938 kB / 1.283 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.274e-06/1.034, allocations: 0 / 1.283 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001089/1.034, allocations: 0 / 1.283 GB, free: 3.812 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00791/1.042, allocations: 2.986 MB / 1.286 GB, free: 0.7617 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.042, allocations: 8.031 kB / 1.286 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/1.047, allocations: 0.7536 MB / 1.287 GB, free: 15.99 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004905/1.052, allocations: 2.129 MB / 1.289 GB, free: 13.79 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/1.052, allocations: 147.6 kB / 1.289 GB, free: 13.65 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000385/1.052, allocations: 191.9 kB / 1.289 GB, free: 13.46 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004183/1.056, allocations: 2.224 MB / 1.291 GB, free: 11.18 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/1.056, allocations: 0 / 1.291 GB, free: 11.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/1.057, allocations: 80 kB / 1.291 GB, free: 11.11 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.871e-05/1.057, allocations: 75.53 kB / 1.292 GB, free: 11.03 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/1.06, allocations: 1.923 MB / 1.293 GB, free: 9.105 MB / 0.823 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.01395/1.074, allocations: 9.247 MB / 1.302 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/1.076, allocations: 1.085 MB / 1.304 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009975/1.077, allocations: 0.617 MB / 1.304 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000911/1.078, allocations: 0.7361 MB / 1.305 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/1.078, allocations: 47.5 kB / 1.305 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001279/1.08, allocations: 186.5 kB / 1.305 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=104): time 3.387e-06/1.08, allocations: 0 / 1.305 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=106): time 0.0113/1.091, allocations: 4.17 MB / 1.309 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/1.091, allocations: 64.41 kB / 1.309 GB, free: 8.137 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/1.094, allocations: 2.152 MB / 1.311 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/1.094, allocations: 45.7 kB / 1.311 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009083/1.095, allocations: 1.122 MB / 1.312 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003987/1.096, allocations: 374.6 kB / 1.313 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/1.096, allocations: 24 kB / 1.313 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.096, allocations: 361.9 kB / 1.313 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000963/1.097, allocations: 0.5075 MB / 1.314 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/1.098, allocations: 0.9381 MB / 1.315 GB, free: 2.406 MB / 0.8386 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.11, allocations: 3.531 MB / 1.318 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/1.11, allocations: 11.94 kB / 1.318 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003988/1.114, allocations: 1.808 MB / 1.32 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002863/1.114, allocations: 416.2 kB / 1.32 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/1.114, allocations: 12 kB / 1.32 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/1.116, allocations: 320.5 kB / 1.321 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.117, allocations: 279.5 kB / 1.321 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/1.118, allocations: 0.9618 MB / 1.322 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/1.12, allocations: 170.5 kB / 1.322 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/1.121, allocations: 63.97 kB / 1.322 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.121, allocations: 5.25 kB / 1.322 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002945/1.124, allocations: 1.57 MB / 1.323 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/1.124, allocations: 11.94 kB / 1.324 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/1.125, allocations: 320.8 kB / 1.324 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.126, allocations: 279.6 kB / 1.324 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/1.127, allocations: 0.962 MB / 1.325 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/1.13, allocations: 164.7 kB / 1.325 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/1.13, allocations: 71.97 kB / 1.325 GB, free: 7.109 MB / 0.8542 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (147): * Single equations (assignments): 144 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.001292/1.131, allocations: 0.6412 MB / 1.326 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005963/1.132, allocations: 244.9 kB / 1.326 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003043/1.135, allocations: 1.524 MB / 1.328 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/1.135, allocations: 12 kB / 1.328 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.135, allocations: 0 / 1.328 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001864/1.137, allocations: 1.105 MB / 1.329 GB, free: 3.539 MB / 0.8542 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 postOpt removeSimpleEquations (simulation): time 0.009646/1.146, allocations: 4.116 MB / 1.333 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/1.146, allocations: 8.812 kB / 1.333 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009203/1.147, allocations: 195.6 kB / 1.333 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/1.149, allocations: 292.6 kB / 1.333 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.149, allocations: 35.98 kB / 1.333 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/1.15, allocations: 0.9127 MB / 1.334 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.15, allocations: 4 kB / 1.334 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/1.154, allocations: 2.225 MB / 1.336 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.155, allocations: 465.8 kB / 1.337 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006025/1.156, allocations: 35.92 kB / 1.337 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/1.158, allocations: 125.9 kB / 1.337 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/1.158, allocations: 80.72 kB / 1.337 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.158, allocations: 51.97 kB / 1.337 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002887/1.161, allocations: 1.468 MB / 1.338 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.161, allocations: 0 / 1.338 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004096/1.165, allocations: 1.09 MB / 1.339 GB, free: 8.117 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * 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 (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001308/1.166, allocations: 483.7 kB / 1.34 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004884/1.171, allocations: 2.096 MB / 1.342 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/1.171, allocations: 4 kB / 1.342 GB, free: 5.559 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/1.173, allocations: 0.5759 MB / 1.343 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/1.183, allocations: 1.47 MB / 1.344 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008831/1.192, allocations: 4.842 MB / 1.349 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/1.194, allocations: 1.676 MB / 1.35 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0032/1.197, allocations: 0.5676 MB / 1.351 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000745/1.198, allocations: 187.4 kB / 1.351 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.262e-06/1.198, allocations: 0 / 1.351 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.09018/1.288, allocations: 52.98 MB / 1.403 GB, free: 7.543 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)