Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.577/1.577, allocations: 287.4 MB / 303.2 MB, free: 8.277 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.0008839/0.000884, allocations: 185.1 kB / 371.8 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.444/1.444, allocations: 205.4 MB / 0.6304 GB, free: 10.54 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.0007819/0.0007819, allocations: 93.17 kB / 0.7438 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 12.27 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1873, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.6299/0.8172, allocations: 233.4 MB / 1.207 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0134/0.8306, allocations: 8.966 MB / 1.216 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.8328, allocations: 65.91 kB / 1.216 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.8347, allocations: 0.6301 MB / 1.217 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005442/0.8401, allocations: 1.934 MB / 1.219 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004338/0.8445, allocations: 1.541 MB / 1.22 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005563/0.8501, allocations: 4.686 MB / 1.225 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.8519, allocations: 1.266 MB / 1.226 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/0.8557, allocations: 1.566 MB / 1.227 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.858, allocations: 1.167 MB / 1.229 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002631/0.8583, allocations: 60 kB / 1.229 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00448/0.8628, allocations: 1.879 MB / 1.23 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005952/0.8634, allocations: 474.2 kB / 1.231 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006508/0.8641, allocations: 396.7 kB / 1.231 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003378/0.8675, allocations: 2.525 MB / 1.234 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8675, allocations: 0 / 1.234 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8675, allocations: 4 kB / 1.234 GB, free: 7.215 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.61e-05/0.8675, allocations: 0 / 1.234 GB, free: 7.215 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003617/0.8712, allocations: 2.133 MB / 1.236 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.8712, allocations: 8.031 kB / 1.236 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/0.8748, allocations: 0.6493 MB / 1.236 GB, free: 4.344 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.8774, allocations: 1.364 MB / 1.238 GB, free: 2.926 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003799/0.8778, allocations: 166 kB / 1.238 GB, free: 2.762 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.878, allocations: 127.9 kB / 1.238 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.8807, allocations: 1.435 MB / 1.239 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.8807, allocations: 0 / 1.239 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.8808, allocations: 48 kB / 1.24 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/0.8809, allocations: 42.22 kB / 1.24 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.8834, allocations: 1.211 MB / 1.241 GB, free: 15.82 MB / 0.7761 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.007831/0.8913, allocations: 5.716 MB / 1.246 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.8932, allocations: 1.048 MB / 1.247 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009911/0.8942, allocations: 0.5331 MB / 1.248 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005913/0.8948, allocations: 331.9 kB / 1.248 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/0.8959, allocations: 0.5852 MB / 1.249 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=85): time 3.166e-06/0.8959, allocations: 0 / 1.249 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of matching and sorting (n=93): time 0.008452/0.9044, allocations: 3.635 MB / 1.252 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.9045, allocations: 94.05 kB / 1.252 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.9062, allocations: 1.334 MB / 1.254 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/0.9063, allocations: 45.7 kB / 1.254 GB, free: 1.926 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005713/0.9068, allocations: 0.7251 MB / 1.254 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.9071, allocations: 319.4 kB / 1.255 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.9072, allocations: 16 kB / 1.255 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.9073, allocations: 349.9 kB / 1.255 GB, free: 0.5117 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009736/0.9083, allocations: 454.1 kB / 1.256 GB, free: 72 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.9094, allocations: 0.6825 MB / 1.256 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01919/0.9286, allocations: 3.646 MB / 1.26 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.9287, allocations: 0 / 1.26 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005522/0.9342, allocations: 1.562 MB / 1.261 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002236/0.9344, allocations: 244 kB / 1.262 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.9345, allocations: 4 kB / 1.262 GB, free: 9.672 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.9357, allocations: 246.3 kB / 1.262 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.9371, allocations: 199.7 kB / 1.262 GB, free: 9.227 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006236/0.9434, allocations: 4.484 MB / 1.266 GB, free: 4.457 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.9458, allocations: 149.3 kB / 1.266 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.946, allocations: 39.98 kB / 1.266 GB, free: 4.273 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.946, allocations: 6.188 kB / 1.266 GB, free: 4.27 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004623/0.9507, allocations: 1.398 MB / 1.268 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.9507, allocations: 4 kB / 1.268 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008368/0.9515, allocations: 218.7 kB / 1.268 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.953, allocations: 199.8 kB / 1.268 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007661/0.9606, allocations: 5.508 MB / 1.274 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.963, allocations: 149.6 kB / 1.274 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.9632, allocations: 39.98 kB / 1.274 GB, free: 12.33 MB / 0.8073 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 98 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 8,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001229/0.9645, allocations: 0.5044 MB / 1.274 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004032/0.9649, allocations: 166 kB / 1.274 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/0.9692, allocations: 1.325 MB / 1.276 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003566/0.9727, allocations: 1.19 MB / 1.277 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.9728, allocations: 0 / 1.277 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.9738, allocations: 342.9 kB / 1.277 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003224/0.9742, allocations: 24.17 kB / 1.277 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/0.9759, allocations: 112.7 kB / 1.277 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.9761, allocations: 64.86 kB / 1.277 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004958/0.981, allocations: 1.413 MB / 1.279 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005824/0.9869, allocations: 2.02 MB / 1.281 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001676/0.9886, allocations: 0.5388 MB / 1.281 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002186/0.9908, allocations: 0.9019 MB / 1.282 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of Backend: time 6.01e-07/0.9908, allocations: 0 / 1.282 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008714/0.9995, allocations: 2.838 MB / 1.285 GB, free: 0.6641 MB / 0.8073 GB Notification: Performance of SimCode: time 0.01116/1.011, allocations: 4.468 MB / 1.289 GB, free: 12.14 MB / 0.823 GB Notification: Performance of Templates: time 0.09278/1.104, allocations: 39.91 MB / 1.328 GB, free: 4.488 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)