Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.215/2.215, allocations: 391.2 MB / 407 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 200 kB / 499.1 MB, free: 4.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 0.7948 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 107.6 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 51.67 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2719, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7857/1.058, allocations: 251.5 MB / 1.464 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02473/1.082, allocations: 18.17 MB / 1.481 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003725/1.086, allocations: 73.53 kB / 1.481 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002796/1.089, allocations: 0.9026 MB / 1.482 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.009606/1.099, allocations: 3.589 MB / 1.486 GB, free: 9.68 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.004591/1.103, allocations: 1.642 MB / 1.487 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.008196/1.112, allocations: 6.814 MB / 1.494 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/1.114, allocations: 1.559 MB / 1.496 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004525/1.118, allocations: 1.912 MB / 1.498 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003676/1.122, allocations: 1.567 MB / 1.499 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003871/1.123, allocations: 96.22 kB / 1.499 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006474/1.129, allocations: 2.718 MB / 1.502 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.00086/1.13, allocations: 0.5109 MB / 1.502 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001926/1.132, allocations: 1.015 MB / 1.503 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.007368/1.139, allocations: 3.702 MB / 1.507 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.139, allocations: 0 / 1.507 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.784e-06/1.139, allocations: 0 / 1.507 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.78e-05/1.139, allocations: 6.062 kB / 1.507 GB, free: 8.172 MB / 0.9167 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.004466/1.144, allocations: 2.477 MB / 1.509 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.144, allocations: 11.02 kB / 1.509 GB, free: 6.977 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/1.146, allocations: 377.6 kB / 1.51 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/1.148, allocations: 1.437 MB / 1.511 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/1.148, allocations: 106.9 kB / 1.511 GB, free: 6.402 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/1.148, allocations: 141.1 kB / 1.511 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/1.15, allocations: 1.501 MB / 1.513 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/1.15, allocations: 7.406 kB / 1.513 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/1.15, allocations: 56.22 kB / 1.513 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.912e-05/1.15, allocations: 50.73 kB / 1.513 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/1.152, allocations: 1.14 MB / 1.514 GB, free: 6.172 MB / 0.9167 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.00774/1.16, allocations: 7.183 MB / 1.521 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/1.162, allocations: 0.8243 MB / 1.522 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006728/1.162, allocations: 440.4 kB / 1.522 GB, free: 1.254 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006899/1.163, allocations: 0.7197 MB / 1.523 GB, free: 500 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/1.163, allocations: 46 kB / 1.523 GB, free: 452 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=74): time 2.855e-06/1.163, allocations: 1.281 kB / 1.523 GB, free: 452 kB / 0.9167 GB Notification: Performance of matching and sorting (n=74): time 0.006258/1.169, allocations: 2.079 MB / 1.525 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/1.169, allocations: 59.19 kB / 1.525 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/1.171, allocations: 1.313 MB / 1.526 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.509e-05/1.171, allocations: 43.8 kB / 1.526 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/1.172, allocations: 0.8046 MB / 1.527 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/1.172, allocations: 260.3 kB / 1.527 GB, free: 14.15 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/1.172, allocations: 173.1 kB / 1.528 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.173, allocations: 338 kB / 1.528 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/1.173, allocations: 339.2 kB / 1.528 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008058/1.174, allocations: 0.5573 MB / 1.529 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/1.175, allocations: 0.8645 MB / 1.53 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.175, allocations: 2.5 kB / 1.53 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002629/1.178, allocations: 1.265 MB / 1.531 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.178, allocations: 7.25 kB / 1.531 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.178, allocations: 6.219 kB / 1.531 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/1.18, allocations: 417 kB / 1.531 GB, free: 12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/1.18, allocations: 149.7 kB / 1.531 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/1.182, allocations: 2.06 MB / 1.533 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.184, allocations: 173.7 kB / 1.534 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.133e-05/1.184, allocations: 39.58 kB / 1.534 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001194/1.185, allocations: 0.6352 MB / 1.534 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007688/1.186, allocations: 0.5558 MB / 1.535 GB, free: 9.211 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001236/1.187, allocations: 0.8649 MB / 1.536 GB, free: 8.676 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/1.187, allocations: 0 / 1.536 GB, free: 8.676 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002088/1.189, allocations: 1.211 MB / 1.537 GB, free: 8.07 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.189, allocations: 6.781 kB / 1.537 GB, free: 8.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.189, allocations: 6.062 kB / 1.537 GB, free: 8.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/1.191, allocations: 362.1 kB / 1.537 GB, free: 7.902 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/1.191, allocations: 152.7 kB / 1.537 GB, free: 7.875 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003108/1.194, allocations: 3.858 MB / 1.541 GB, free: 4.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/1.196, allocations: 159 kB / 1.541 GB, free: 4.098 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/1.196, allocations: 41.27 kB / 1.541 GB, free: 4.086 MB / 0.9323 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.0002886/1.196, allocations: 233.3 kB / 1.542 GB, free: 3.871 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/1.196, allocations: 156.8 kB / 1.542 GB, free: 3.793 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/1.199, allocations: 1.186 MB / 1.543 GB, free: 3.117 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/1.199, allocations: 11.06 kB / 1.543 GB, free: 3.113 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.199, allocations: 3.984 kB / 1.543 GB, free: 3.109 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002235/1.201, allocations: 1.286 MB / 1.544 GB, free: 2.203 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004556/1.206, allocations: 2.753 MB / 1.547 GB, free: 392 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.206, allocations: 6.781 kB / 1.547 GB, free: 388 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/1.206, allocations: 98.3 kB / 1.547 GB, free: 372 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/1.208, allocations: 354.6 kB / 1.547 GB, free: 200 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/1.208, allocations: 15.91 kB / 1.547 GB, free: 192 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/1.209, allocations: 2.031 MB / 1.549 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.209, allocations: 2.594 kB / 1.549 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/1.212, allocations: 2.466 MB / 1.552 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006721/1.213, allocations: 329.2 kB / 1.552 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/1.213, allocations: 21.92 kB / 1.552 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/1.214, allocations: 108 kB / 1.552 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/1.214, allocations: 53.19 kB / 1.552 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-05/1.214, allocations: 31.64 kB / 1.552 GB, free: 12.25 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001109/1.216, allocations: 0.8901 MB / 1.553 GB, free: 11.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.216, allocations: 4 kB / 1.553 GB, free: 11.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002622/1.218, allocations: 0.9165 MB / 1.554 GB, free: 10.9 MB / 0.948 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.0007307/1.219, allocations: 373.6 kB / 1.554 GB, free: 10.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003138/1.222, allocations: 1.638 MB / 1.556 GB, free: 8.938 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.222, allocations: 0 / 1.556 GB, free: 8.938 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009333/1.223, allocations: 463.7 kB / 1.556 GB, free: 8.496 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003707/1.227, allocations: 0.7911 MB / 1.557 GB, free: 7.711 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/1.231, allocations: 3.773 MB / 1.561 GB, free: 3.879 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000852/1.232, allocations: 1.377 MB / 1.562 GB, free: 2.473 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00137/1.234, allocations: 323.9 kB / 1.562 GB, free: 2.156 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/1.234, allocations: 91.44 kB / 1.563 GB, free: 2.066 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/1.234, allocations: 3.938 kB / 1.563 GB, free: 2.062 MB / 0.948 GB Notification: Performance of Templates: time 0.05179/1.286, allocations: 32.05 MB / 1.594 GB, free: 2.465 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)