Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_9_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.001791/0.001792, allocations: 107.9 kB / 16.41 MB, free: 6.512 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.002301/0.002301, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 67.89 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8956/0.8972, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.2765/1.174, allocations: 254 MB / 1.337 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02416/1.198, allocations: 18.08 MB / 1.354 GB, free: 13.34 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/1.201, allocations: 83.56 kB / 1.354 GB, free: 13.26 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003267/1.204, allocations: 1.118 MB / 1.355 GB, free: 12.14 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009964/1.214, allocations: 4 MB / 1.359 GB, free: 8.121 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004788/1.219, allocations: 1.815 MB / 1.361 GB, free: 6.316 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006859/1.226, allocations: 5.078 MB / 1.366 GB, free: 1.227 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002944/1.229, allocations: 1.841 MB / 1.368 GB, free: 15.33 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00529/1.234, allocations: 2.221 MB / 1.37 GB, free: 13.11 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/1.237, allocations: 1.529 MB / 1.372 GB, free: 11.57 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005386/1.238, allocations: 184 kB / 1.372 GB, free: 11.39 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005341/1.243, allocations: 2.538 MB / 1.374 GB, free: 8.852 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008226/1.244, allocations: 0.5996 MB / 1.375 GB, free: 8.25 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001861/1.246, allocations: 1.112 MB / 1.376 GB, free: 7.133 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007493/1.253, allocations: 3.7 MB / 1.38 GB, free: 3.422 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.253, allocations: 0 / 1.38 GB, free: 3.422 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.883e-06/1.253, allocations: 0 / 1.38 GB, free: 3.422 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.273e-05/1.253, allocations: 0 / 1.38 GB, free: 3.422 MB / 1.107 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.005261/1.259, allocations: 2.483 MB / 1.382 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.259, allocations: 8.031 kB / 1.382 GB, free: 0.875 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/1.26, allocations: 373.1 kB / 1.382 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/1.263, allocations: 1.502 MB / 1.384 GB, free: 14.95 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/1.263, allocations: 110.7 kB / 1.384 GB, free: 14.84 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/1.264, allocations: 143.9 kB / 1.384 GB, free: 14.7 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/1.266, allocations: 1.491 MB / 1.385 GB, free: 13.14 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/1.266, allocations: 4 kB / 1.385 GB, free: 13.14 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/1.266, allocations: 56 kB / 1.386 GB, free: 13.09 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.854e-05/1.267, allocations: 66.5 kB / 1.386 GB, free: 13.02 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/1.269, allocations: 1.138 MB / 1.387 GB, free: 11.88 MB / 1.123 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.008358/1.277, allocations: 7.181 MB / 1.394 GB, free: 4.125 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/1.278, allocations: 0.832 MB / 1.395 GB, free: 3.266 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007487/1.279, allocations: 435.3 kB / 1.395 GB, free: 2.84 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008649/1.28, allocations: 0.7201 MB / 1.396 GB, free: 1.973 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.28, allocations: 47.16 kB / 1.396 GB, free: 1.918 MB / 1.123 GB Notification: Performance of pre-optimization done (n=74): time 2.435e-06/1.28, allocations: 0 / 1.396 GB, free: 1.918 MB / 1.123 GB Notification: Performance of matching and sorting (n=74): time 0.006506/1.287, allocations: 2.071 MB / 1.398 GB, free: 15.77 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/1.287, allocations: 64 kB / 1.398 GB, free: 15.7 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/1.288, allocations: 1.318 MB / 1.399 GB, free: 14.37 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-05/1.289, allocations: 45.7 kB / 1.399 GB, free: 14.32 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005966/1.289, allocations: 0.7977 MB / 1.4 GB, free: 13.51 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/1.289, allocations: 256.3 kB / 1.4 GB, free: 13.26 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/1.29, allocations: 174.5 kB / 1.4 GB, free: 13.08 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.29, allocations: 338 kB / 1.401 GB, free: 12.75 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006314/1.29, allocations: 332.7 kB / 1.401 GB, free: 12.42 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/1.291, allocations: 0.5634 MB / 1.402 GB, free: 11.76 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/1.293, allocations: 0.8634 MB / 1.402 GB, free: 10.83 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.293, allocations: 4 kB / 1.402 GB, free: 10.83 MB / 1.139 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002547/1.295, allocations: 1.271 MB / 1.404 GB, free: 9.543 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.295, allocations: 11.94 kB / 1.404 GB, free: 9.531 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.295, allocations: 4 kB / 1.404 GB, free: 9.527 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/1.297, allocations: 411.3 kB / 1.404 GB, free: 9.117 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/1.298, allocations: 151.8 kB / 1.404 GB, free: 8.969 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/1.3, allocations: 2.053 MB / 1.406 GB, free: 6.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.301, allocations: 111 kB / 1.406 GB, free: 6.73 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/1.301, allocations: 39.98 kB / 1.406 GB, free: 6.691 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/1.302, allocations: 0.6346 MB / 1.407 GB, free: 6.051 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008066/1.303, allocations: 0.5552 MB / 1.407 GB, free: 5.406 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001356/1.304, allocations: 0.8534 MB / 1.408 GB, free: 4.488 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/1.304, allocations: 0 / 1.408 GB, free: 4.488 MB / 1.139 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002317/1.307, allocations: 1.217 MB / 1.409 GB, free: 3.254 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.307, allocations: 8 kB / 1.409 GB, free: 3.246 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.307, allocations: 4 kB / 1.409 GB, free: 3.242 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/1.308, allocations: 366.3 kB / 1.41 GB, free: 2.875 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/1.309, allocations: 147.8 kB / 1.41 GB, free: 2.73 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/1.312, allocations: 4.198 MB / 1.414 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.313, allocations: 93.42 kB / 1.414 GB, free: 14.14 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-05/1.313, allocations: 32 kB / 1.414 GB, free: 14.11 MB / 1.154 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.0002632/1.314, allocations: 238.6 kB / 1.414 GB, free: 13.87 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/1.314, allocations: 154.1 kB / 1.415 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/1.317, allocations: 1.202 MB / 1.416 GB, free: 12.5 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002418/1.319, allocations: 1.283 MB / 1.417 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.319, allocations: 0 / 1.417 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006402/1.32, allocations: 323 kB / 1.417 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/1.32, allocations: 12 kB / 1.417 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008899/1.321, allocations: 43.95 kB / 1.417 GB, free: 10.73 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/1.321, allocations: 52.58 kB / 1.417 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002756/1.324, allocations: 1.149 MB / 1.419 GB, free: 9.516 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002253/1.326, allocations: 1.441 MB / 1.42 GB, free: 8.051 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005971/1.327, allocations: 337 kB / 1.42 GB, free: 7.723 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001372/1.328, allocations: 0.9015 MB / 1.421 GB, free: 6.824 MB / 1.154 GB Notification: Performance of Backend: time 4.01e-07/1.328, allocations: 3.938 kB / 1.421 GB, free: 6.82 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.005056/1.333, allocations: 2.04 MB / 1.423 GB, free: 4.762 MB / 1.154 GB Notification: Performance of SimCode: time 0.006571/1.34, allocations: 3.776 MB / 1.427 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of Templates: time 0.06106/1.401, allocations: 38.3 MB / 1.464 GB, free: 11.07 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)