Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008641/0.0008641, allocations: 187.6 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205 MB / 0.5767 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006802/0.0006802, allocations: 87.92 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 11.16 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1597, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.07838/0.2381, allocations: 111 MB / 1.005 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03872/0.2769, allocations: 31.8 MB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004546/0.2815, allocations: 135.1 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003934/0.2854, allocations: 1.457 MB / 1.038 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.2964, allocations: 4.244 MB / 1.042 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008009/0.3044, allocations: 3.129 MB / 1.045 GB, free: 11.95 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3937/0.6981, allocations: 58.96 MB / 1.103 GB, free: 8.754 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02013/0.7182, allocations: 18.28 MB / 1.12 GB, free: 21.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02045/0.7387, allocations: 11.62 MB / 1.132 GB, free: 20.23 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01938/0.7581, allocations: 12.36 MB / 1.144 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.004157/0.7623, allocations: 0.7539 MB / 1.145 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01226/0.7746, allocations: 2.87 MB / 1.147 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.005972/0.7806, allocations: 3.434 MB / 1.151 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.01771/0.7983, allocations: 8.77 MB / 1.159 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.03637/0.8347, allocations: 31.85 MB / 1.19 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.8348, allocations: 4 kB / 1.19 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.086e-06/0.8348, allocations: 4 kB / 1.19 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001017/0.8358, allocations: 0 / 1.19 GB, free: 2.211 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 0.03895/0.8748, allocations: 15.81 MB / 1.206 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.8748, allocations: 16.02 kB / 1.206 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.885, allocations: 1.952 MB / 1.208 GB, free: 416 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03057/0.9156, allocations: 15.78 MB / 1.223 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009079/0.9165, allocations: 0.999 MB / 1.224 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004017/0.9205, allocations: 1.337 MB / 1.225 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03923/0.9598, allocations: 20.09 MB / 1.245 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004402/0.9602, allocations: 43.59 kB / 1.245 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00223/0.9625, allocations: 0.535 MB / 1.246 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003216/0.9628, allocations: 387.9 kB / 1.246 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03457/0.9974, allocations: 18.17 MB / 1.264 GB, free: 6.746 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.1256/1.123, allocations: 86.25 MB / 1.348 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/1.143, allocations: 12.99 MB / 1.361 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01124/1.154, allocations: 7.434 MB / 1.368 GB, free: 8.098 MB / 0.9323 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 evalFunc (simulation): time 0.05113/1.205, allocations: 26.71 MB / 1.394 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01027/1.216, allocations: 5.939 MB / 1.4 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005818/1.222, allocations: 0.7909 MB / 1.401 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=772): time 1.756e-05/1.222, allocations: 0 / 1.401 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of matching and sorting (n=772): time 0.7161/1.938, allocations: 32.47 MB / 1.432 GB, free: 371 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/1.938, allocations: 159.6 kB / 1.432 GB, free: 370.9 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01805/1.956, allocations: 12.19 MB / 1.444 GB, free: 366.3 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.0017/1.958, allocations: 194.8 kB / 1.445 GB, free: 366.2 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.005868/1.964, allocations: 6.957 MB / 1.451 GB, free: 361.2 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.003083/1.967, allocations: 2.696 MB / 1.454 GB, free: 358.9 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/1.968, allocations: 0.983 MB / 1.455 GB, free: 358.3 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 3.663e-05/1.968, allocations: 305.1 kB / 1.455 GB, free: 358 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008519/1.977, allocations: 6.29 MB / 1.461 GB, free: 354.6 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01087/1.988, allocations: 9.601 MB / 1.471 GB, free: 347.1 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01855/2.006, allocations: 15.97 MB / 1.486 GB, free: 331.3 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-05/2.007, allocations: 28 kB / 1.486 GB, free: 331.3 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.03004/2.037, allocations: 18.87 MB / 1.505 GB, free: 312.3 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001087/2.038, allocations: 3.089 MB / 1.508 GB, free: 307.8 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.803e-05/2.038, allocations: 96 kB / 1.508 GB, free: 307.7 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06026/2.098, allocations: 9.087 MB / 1.517 GB, free: 298.6 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009041/2.107, allocations: 2.455 MB / 1.519 GB, free: 296.2 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009232/2.116, allocations: 10.38 MB / 1.529 GB, free: 285.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01182/2.128, allocations: 1.099 MB / 1.53 GB, free: 284.4 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002089/2.13, allocations: 0.5155 MB / 1.531 GB, free: 283.9 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/2.13, allocations: 7.938 kB / 1.531 GB, free: 283.9 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02561/2.156, allocations: 17.88 MB / 1.548 GB, free: 265.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002029/2.156, allocations: 108.5 kB / 1.548 GB, free: 265.8 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05985/2.216, allocations: 9.047 MB / 1.557 GB, free: 256.7 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009334/2.225, allocations: 2.453 MB / 1.56 GB, free: 254.3 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009554/2.235, allocations: 10.38 MB / 1.57 GB, free: 243.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01121/2.246, allocations: 1.074 MB / 1.571 GB, free: 242.5 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002123/2.248, allocations: 0.5155 MB / 1.571 GB, free: 242 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 (mHex_flow_in.count,$PRE.mHex_flow_in.count,mHex_flow_in.T_start,$PRE.mHex_flow_in.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1286): * Single equations (assignments): 1282 * Array equations: 0 * Algorithm blocks: 1 * 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): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,144)} Notification: Performance of prepare postOptimizeDAE: time 0.009646/2.258, allocations: 5.948 MB / 1.577 GB, free: 236.1 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003125/2.261, allocations: 1.146 MB / 1.578 GB, free: 234.9 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/2.28, allocations: 13.37 MB / 1.591 GB, free: 221.5 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01326/2.294, allocations: 11.06 MB / 1.602 GB, free: 210.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/2.294, allocations: 0 / 1.602 GB, free: 210.3 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005865/2.3, allocations: 2.665 MB / 1.605 GB, free: 207.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002414/2.302, allocations: 156.6 kB / 1.605 GB, free: 207.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007621/2.31, allocations: 0.8022 MB / 1.606 GB, free: 206.7 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008075/2.31, allocations: 461.5 kB / 1.606 GB, free: 206.2 MB / 0.9637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02249/2.333, allocations: 14.52 MB / 1.62 GB, free: 191.8 MB / 0.9637 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02253/2.356, allocations: 18.92 MB / 1.639 GB, free: 172.8 MB / 0.9637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005872/2.361, allocations: 5.519 MB / 1.644 GB, free: 167.3 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01383/2.375, allocations: 8.426 MB / 1.652 GB, free: 158.9 MB / 0.9637 GB Notification: Performance of Backend: time 4.51e-07/2.375, allocations: 0 / 1.652 GB, free: 158.9 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.03736/2.413, allocations: 19.76 MB / 1.672 GB, free: 139.2 MB / 0.9637 GB Notification: Performance of SimCode: time 0.06409/2.477, allocations: 41.6 MB / 1.712 GB, free: 97.73 MB / 0.9637 GB Notification: Performance of Templates: time 0.9579/3.435, allocations: 310 MB / 2.015 GB, free: 150.3 MB / 0.9638 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)