Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001591/0.001591, allocations: 113.4 kB / 16.42 MB, free: 6.473 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.001931/0.001931, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.411/1.411, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.482/2.482, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 67.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8046/0.8063, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.2621/1.068, allocations: 254 MB / 1.415 GB, free: 4.957 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02366/1.092, allocations: 18.08 MB / 1.433 GB, free: 2.828 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004939/1.097, allocations: 79.56 kB / 1.433 GB, free: 2.75 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004035/1.101, allocations: 1.126 MB / 1.434 GB, free: 1.617 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009954/1.111, allocations: 3.996 MB / 1.438 GB, free: 13.6 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004578/1.116, allocations: 1.818 MB / 1.44 GB, free: 11.8 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006949/1.123, allocations: 5.074 MB / 1.445 GB, free: 6.711 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003244/1.126, allocations: 1.837 MB / 1.447 GB, free: 4.824 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005328/1.131, allocations: 2.213 MB / 1.449 GB, free: 2.605 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002907/1.134, allocations: 1.526 MB / 1.45 GB, free: 1.078 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005813/1.135, allocations: 184 kB / 1.45 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006163/1.141, allocations: 2.538 MB / 1.453 GB, free: 14.36 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008996/1.142, allocations: 0.5958 MB / 1.454 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002099/1.144, allocations: 1.12 MB / 1.455 GB, free: 12.63 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007078/1.151, allocations: 3.696 MB / 1.458 GB, free: 8.922 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.151, allocations: 0 / 1.458 GB, free: 8.922 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.707e-06/1.151, allocations: 0 / 1.458 GB, free: 8.922 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001164/1.151, allocations: 3.938 kB / 1.458 GB, free: 8.918 MB / 1.186 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.005971/1.157, allocations: 2.481 MB / 1.461 GB, free: 6.383 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.157, allocations: 12.88 kB / 1.461 GB, free: 6.371 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/1.159, allocations: 381 kB / 1.461 GB, free: 5.996 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/1.163, allocations: 1.488 MB / 1.462 GB, free: 4.453 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-05/1.163, allocations: 106.7 kB / 1.463 GB, free: 4.348 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/1.163, allocations: 151.9 kB / 1.463 GB, free: 4.199 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/1.166, allocations: 1.499 MB / 1.464 GB, free: 2.637 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/1.166, allocations: 8 kB / 1.464 GB, free: 2.629 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/1.166, allocations: 56 kB / 1.464 GB, free: 2.574 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.929e-05/1.166, allocations: 58.62 kB / 1.464 GB, free: 2.516 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/1.169, allocations: 1.135 MB / 1.465 GB, free: 1.375 MB / 1.186 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.009543/1.178, allocations: 7.2 MB / 1.472 GB, free: 9.605 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/1.18, allocations: 0.8219 MB / 1.473 GB, free: 8.758 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007793/1.18, allocations: 443.2 kB / 1.474 GB, free: 8.324 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008825/1.181, allocations: 0.7162 MB / 1.474 GB, free: 7.461 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/1.181, allocations: 43.2 kB / 1.474 GB, free: 7.41 MB / 1.201 GB Notification: Performance of pre-optimization done (n=74): time 3.267e-06/1.181, allocations: 0 / 1.474 GB, free: 7.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=74): time 0.006858/1.188, allocations: 2.078 MB / 1.476 GB, free: 5.258 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/1.188, allocations: 60.06 kB / 1.476 GB, free: 5.188 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/1.19, allocations: 1.321 MB / 1.478 GB, free: 3.855 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/1.191, allocations: 41.7 kB / 1.478 GB, free: 3.809 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006565/1.191, allocations: 0.7978 MB / 1.479 GB, free: 3 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/1.192, allocations: 260.2 kB / 1.479 GB, free: 2.742 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/1.192, allocations: 182.5 kB / 1.479 GB, free: 2.555 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.192, allocations: 341.9 kB / 1.479 GB, free: 2.215 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/1.193, allocations: 332.7 kB / 1.48 GB, free: 1.887 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008858/1.194, allocations: 0.563 MB / 1.48 GB, free: 1.234 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/1.195, allocations: 0.8634 MB / 1.481 GB, free: 316 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/1.195, allocations: 4 kB / 1.481 GB, free: 312 kB / 1.201 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002887/1.198, allocations: 1.256 MB / 1.482 GB, free: 15.03 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.198, allocations: 8 kB / 1.482 GB, free: 15.02 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.198, allocations: 4 kB / 1.482 GB, free: 15.02 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/1.2, allocations: 408.9 kB / 1.483 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/1.201, allocations: 155.8 kB / 1.483 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/1.202, allocations: 2.047 MB / 1.485 GB, free: 12.33 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/1.204, allocations: 115.2 kB / 1.485 GB, free: 12.22 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/1.204, allocations: 43.92 kB / 1.485 GB, free: 12.18 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001203/1.205, allocations: 0.6346 MB / 1.486 GB, free: 11.54 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008428/1.206, allocations: 0.5669 MB / 1.486 GB, free: 10.88 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001465/1.207, allocations: 0.8594 MB / 1.487 GB, free: 9.957 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.498e-06/1.207, allocations: 0 / 1.487 GB, free: 9.957 MB / 1.217 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002556/1.21, allocations: 1.209 MB / 1.488 GB, free: 8.73 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.21, allocations: 8 kB / 1.488 GB, free: 8.723 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.21, allocations: 4.406 kB / 1.488 GB, free: 8.719 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/1.212, allocations: 368.8 kB / 1.489 GB, free: 8.352 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006439/1.212, allocations: 147.8 kB / 1.489 GB, free: 8.207 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/1.216, allocations: 4.195 MB / 1.493 GB, free: 3.715 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/1.218, allocations: 79.53 kB / 1.493 GB, free: 3.637 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.218, allocations: 43.98 kB / 1.493 GB, free: 3.594 MB / 1.217 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.0003823/1.218, allocations: 233.1 kB / 1.493 GB, free: 3.359 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000529/1.219, allocations: 154.1 kB / 1.493 GB, free: 3.207 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/1.222, allocations: 1.199 MB / 1.494 GB, free: 1.98 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002484/1.224, allocations: 1.278 MB / 1.496 GB, free: 0.6055 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.224, allocations: 8 kB / 1.496 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008589/1.225, allocations: 319 kB / 1.496 GB, free: 272 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003851/1.226, allocations: 16 kB / 1.496 GB, free: 256 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.227, allocations: 45.08 kB / 1.496 GB, free: 212 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/1.227, allocations: 52.58 kB / 1.496 GB, free: 160 kB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002873/1.23, allocations: 1.15 MB / 1.497 GB, free: 15 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002428/1.232, allocations: 1.441 MB / 1.499 GB, free: 13.53 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006061/1.233, allocations: 345 kB / 1.499 GB, free: 13.19 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001616/1.234, allocations: 0.8899 MB / 1.5 GB, free: 12.3 MB / 1.232 GB Notification: Performance of Backend: time 2.51e-07/1.234, allocations: 0 / 1.5 GB, free: 12.3 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.005844/1.24, allocations: 2.055 MB / 1.502 GB, free: 10.23 MB / 1.232 GB Notification: Performance of SimCode: time 0.007482/1.248, allocations: 3.766 MB / 1.506 GB, free: 6.43 MB / 1.232 GB Notification: Performance of Templates: time 0.06338/1.311, allocations: 38.29 MB / 1.543 GB, free: 0.4961 MB / 1.264 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)