Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.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.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.653/1.653, allocations: 287.4 MB / 303.2 MB, free: 8.203 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.0009925/0.0009925, allocations: 186.5 kB / 371.8 MB, free: 10.83 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.313/1.313, allocations: 205.4 MB / 0.6304 GB, free: 10.59 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.0006812/0.0006812, allocations: 94.3 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 11.12 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1721, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.4654/0.6375, allocations: 103.4 MB / 1.08 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03645/0.674, allocations: 29.89 MB / 1.109 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005468/0.6795, allocations: 129.8 kB / 1.11 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004538/0.6841, allocations: 1.232 MB / 1.111 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.012/0.6961, allocations: 3.623 MB / 1.114 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008434/0.7045, allocations: 2.426 MB / 1.117 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.04287/0.7474, allocations: 50.95 MB / 1.166 GB, free: 3.008 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02553/0.773, allocations: 18.48 MB / 1.184 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0233/0.7963, allocations: 11.51 MB / 1.196 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02107/0.8174, allocations: 11.74 MB / 1.207 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.004779/0.8223, allocations: 0.7578 MB / 1.208 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01352/0.8358, allocations: 2.333 MB / 1.21 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.006738/0.8426, allocations: 3.322 MB / 1.213 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.007946/0.8505, allocations: 3.708 MB / 1.217 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.03031/0.8809, allocations: 27.57 MB / 1.244 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8809, allocations: 0 / 1.244 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.316e-06/0.8809, allocations: 0 / 1.244 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0009624/0.8819, allocations: 0 / 1.244 GB, free: 7.727 MB / 0.7761 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.03759/0.9195, allocations: 15.83 MB / 1.259 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.9196, allocations: 8.031 kB / 1.259 GB, free: 7.918 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009417/0.929, allocations: 1.96 MB / 1.261 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03131/0.9603, allocations: 15.87 MB / 1.277 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000926/0.9613, allocations: 1.001 MB / 1.278 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004217/0.9655, allocations: 1.335 MB / 1.279 GB, free: 4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04605/1.012, allocations: 20.16 MB / 1.299 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005831/1.012, allocations: 35.66 kB / 1.299 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003613/1.016, allocations: 0.5417 MB / 1.299 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000406/1.016, allocations: 391.8 kB / 1.3 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03724/1.054, allocations: 18.07 MB / 1.317 GB, free: 12.24 MB / 0.8542 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.1295/1.183, allocations: 86.45 MB / 1.402 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02109/1.204, allocations: 12.94 MB / 1.414 GB, free: 4.875 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01187/1.216, allocations: 7.41 MB / 1.422 GB, free: 13.46 MB / 0.9636 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.7562/1.972, allocations: 26.87 MB / 1.448 GB, free: 322.1 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01091/1.983, allocations: 6.039 MB / 1.454 GB, free: 320 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006145/1.989, allocations: 0.7993 MB / 1.455 GB, free: 319.8 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=772): time 2.678e-05/1.99, allocations: 2.125 kB / 1.455 GB, free: 319.8 MB / 0.9637 GB Notification: Performance of matching and sorting (n=772): time 0.1019/2.091, allocations: 32.41 MB / 1.486 GB, free: 310.2 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/2.092, allocations: 159.7 kB / 1.486 GB, free: 310.1 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01597/2.107, allocations: 12.09 MB / 1.498 GB, free: 304 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.001687/2.109, allocations: 199.2 kB / 1.498 GB, free: 303.9 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.005297/2.115, allocations: 6.964 MB / 1.505 GB, free: 298.4 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.003033/2.118, allocations: 2.696 MB / 1.508 GB, free: 296.1 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008432/2.118, allocations: 234.7 kB / 1.508 GB, free: 295.9 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.0005592/2.119, allocations: 0.7741 MB / 1.509 GB, free: 295.3 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0086/2.128, allocations: 6.236 MB / 1.515 GB, free: 291.5 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01067/2.138, allocations: 9.555 MB / 1.524 GB, free: 280.6 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02091/2.159, allocations: 15.9 MB / 1.54 GB, free: 263.2 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.059e-05/2.159, allocations: 28 kB / 1.54 GB, free: 263.2 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.03699/2.196, allocations: 18.81 MB / 1.558 GB, free: 244.3 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001567/2.198, allocations: 3.09 MB / 1.561 GB, free: 239.8 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/2.198, allocations: 103.8 kB / 1.561 GB, free: 239.7 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06231/2.261, allocations: 9.039 MB / 1.57 GB, free: 230.6 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00977/2.27, allocations: 2.457 MB / 1.573 GB, free: 228.2 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/2.281, allocations: 10.37 MB / 1.583 GB, free: 217.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/2.293, allocations: 1.103 MB / 1.584 GB, free: 216.4 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001988/2.295, allocations: 0.5166 MB / 1.584 GB, free: 215.9 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/2.295, allocations: 7.938 kB / 1.584 GB, free: 215.9 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03042/2.326, allocations: 17.83 MB / 1.602 GB, free: 198 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002338/2.326, allocations: 96 kB / 1.602 GB, free: 197.9 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0619/2.388, allocations: 9.008 MB / 1.611 GB, free: 188.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009888/2.398, allocations: 2.457 MB / 1.613 GB, free: 186.4 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/2.409, allocations: 10.37 MB / 1.623 GB, free: 175.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01181/2.421, allocations: 1.073 MB / 1.624 GB, free: 174.7 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002126/2.423, allocations: 0.5155 MB / 1.625 GB, free: 174.1 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 ($whenCondition1,$PRE.mHex_flow_in.T_start,mHex_flow_in.T_start,$PRE.mHex_flow_in.count,mHex_flow_in.count) * 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 (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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of prepare postOptimizeDAE: time 0.01045/2.434, allocations: 5.954 MB / 1.63 GB, free: 168.2 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004063/2.438, allocations: 1.158 MB / 1.632 GB, free: 167 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02393/2.462, allocations: 13.31 MB / 1.645 GB, free: 153.7 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01565/2.477, allocations: 11.02 MB / 1.655 GB, free: 142.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/2.477, allocations: 0 / 1.655 GB, free: 142.6 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007534/2.485, allocations: 2.917 MB / 1.658 GB, free: 139.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003628/2.489, allocations: 153.7 kB / 1.658 GB, free: 139.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009893/2.498, allocations: 0.8141 MB / 1.659 GB, free: 138.7 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001501/2.5, allocations: 457.5 kB / 1.66 GB, free: 138.2 MB / 0.9637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02751/2.528, allocations: 14.47 MB / 1.674 GB, free: 123.9 MB / 0.9637 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02658/2.554, allocations: 18.85 MB / 1.692 GB, free: 104.9 MB / 0.9637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006384/2.561, allocations: 5.482 MB / 1.697 GB, free: 99.39 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01334/2.574, allocations: 8.336 MB / 1.706 GB, free: 91.09 MB / 0.9637 GB Notification: Performance of Backend: time 7.82e-07/2.574, allocations: 0 / 1.706 GB, free: 91.09 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.04157/2.616, allocations: 19.63 MB / 1.725 GB, free: 71.58 MB / 0.9637 GB Notification: Performance of SimCode: time 0.07719/2.693, allocations: 40.72 MB / 1.764 GB, free: 30.89 MB / 0.9637 GB Notification: Performance of Templates: time 1.265/3.958, allocations: 305.4 MB / 2.063 GB, free: 78.78 MB / 0.9638 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)