Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 105.2 kB / 16.36 MB, free: 6.258 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.001141/0.001141, allocations: 191.1 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.215, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor): time 2.113/2.328, allocations: 1.011 GB / 1.796 GB, free: 40.56 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2226/2.551, allocations: 158.5 MB / 1.951 GB, free: 9.695 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03336/2.584, allocations: 0.7613 MB / 1.952 GB, free: 8.93 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.03097/2.615, allocations: 9.706 MB / 1.961 GB, free: 15.16 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.06855/2.684, allocations: 23.09 MB / 1.984 GB, free: 7.984 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.6492/3.333, allocations: 20.35 MB / 2.003 GB, free: 36.88 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.08064/3.413, allocations: 66.59 MB / 2.069 GB, free: 36.71 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04207/3.456, allocations: 27.22 MB / 2.095 GB, free: 33.11 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05708/3.513, allocations: 25.89 MB / 2.12 GB, free: 31.03 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03288/3.546, allocations: 18.07 MB / 2.138 GB, free: 27.83 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.01011/3.556, allocations: 2.428 MB / 2.14 GB, free: 27.83 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03154/3.587, allocations: 10.18 MB / 2.15 GB, free: 27.83 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.01143/3.599, allocations: 6.228 MB / 2.156 GB, free: 26.94 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.02831/3.627, allocations: 13.55 MB / 2.17 GB, free: 19.19 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.05762/3.685, allocations: 41.15 MB / 2.21 GB, free: 12.67 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/3.685, allocations: 2.719 kB / 2.21 GB, free: 12.67 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.573e-06/3.685, allocations: 4 kB / 2.21 GB, free: 12.67 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.001188/3.686, allocations: 4 kB / 2.21 GB, free: 12.66 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3534 * Number of variables: 3534 Notification: Performance of Generate backend data structure: time 0.06282/3.749, allocations: 25.37 MB / 2.235 GB, free: 7.613 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/3.749, allocations: 8.031 kB / 2.235 GB, free: 7.605 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/3.765, allocations: 3.341 MB / 2.238 GB, free: 4.242 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05049/3.816, allocations: 22.84 MB / 2.26 GB, free: 0.6523 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001245/3.817, allocations: 1.07 MB / 2.261 GB, free: 15.59 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005072/3.822, allocations: 1.448 MB / 2.263 GB, free: 14.15 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04576/3.868, allocations: 17.69 MB / 2.28 GB, free: 11.98 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004055/3.868, allocations: 35.28 kB / 2.28 GB, free: 11.96 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002575/3.871, allocations: 0.5741 MB / 2.281 GB, free: 11.39 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000361/3.871, allocations: 392.3 kB / 2.281 GB, free: 11.01 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0321/3.903, allocations: 13.66 MB / 2.294 GB, free: 13.46 MB / 1.295 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.1291/4.032, allocations: 89.27 MB / 2.381 GB, free: 15.23 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01524/4.048, allocations: 5.96 MB / 2.387 GB, free: 9.258 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007956/4.056, allocations: 3.49 MB / 2.391 GB, free: 5.77 MB / 1.389 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.03542/4.091, allocations: 19.93 MB / 2.41 GB, free: 424 kB / 1.404 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/4.091, allocations: 116.9 kB / 2.41 GB, free: 300 kB / 1.404 GB Notification: Performance of pre-optimization done (n=525): time 7.985e-06/4.091, allocations: 0 / 2.41 GB, free: 300 kB / 1.404 GB Notification: Performance of matching and sorting (n=525): time 0.02671/4.118, allocations: 9.851 MB / 2.42 GB, free: 6.391 MB / 1.42 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003044/4.118, allocations: 0.7448 MB / 2.421 GB, free: 5.477 MB / 1.42 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04276/4.161, allocations: 19.77 MB / 2.44 GB, free: 1.844 MB / 1.436 GB Notification: Performance of collectPreVariables (initialization): time 0.001556/4.163, allocations: 173.3 kB / 2.44 GB, free: 1.672 MB / 1.436 GB Notification: Performance of collectInitialEqns (initialization): time 0.01345/4.176, allocations: 10.29 MB / 2.45 GB, free: 7.359 MB / 1.451 GB Notification: Performance of collectInitialBindings (initialization): time 0.003334/4.18, allocations: 1.906 MB / 2.452 GB, free: 5.469 MB / 1.451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004311/4.184, allocations: 1.902 MB / 2.454 GB, free: 3.559 MB / 1.451 GB Notification: Performance of setup shared object (initialization): time 0.0001169/4.184, allocations: 305.1 kB / 2.454 GB, free: 3.258 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008091/4.192, allocations: 3.534 MB / 2.458 GB, free: 15.71 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01288/4.205, allocations: 7.346 MB / 2.465 GB, free: 6.676 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02002/4.225, allocations: 10.52 MB / 2.475 GB, free: 11.16 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.123e-05/4.225, allocations: 28 kB / 2.475 GB, free: 11.14 MB / 1.482 GB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.03058/4.256, allocations: 12.15 MB / 2.487 GB, free: 15.55 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 7.593e-05/4.256, allocations: 52.03 kB / 2.487 GB, free: 15.5 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/4.256, allocations: 125.8 kB / 2.487 GB, free: 15.38 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/4.257, allocations: 244.8 kB / 2.487 GB, free: 15.14 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008275/4.265, allocations: 2.137 MB / 2.489 GB, free: 13.14 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007921/4.266, allocations: 0.8229 MB / 2.49 GB, free: 12.34 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01405/4.28, allocations: 1.409 MB / 2.492 GB, free: 10.92 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/4.282, allocations: 469.9 kB / 2.492 GB, free: 10.46 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01857/4.3, allocations: 8.487 MB / 2.5 GB, free: 1.965 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.6797/4.98, allocations: 7.187 MB / 2.507 GB, free: 0.7706 GB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01729/4.997, allocations: 10.21 MB / 2.517 GB, free: 0.767 GB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001244/4.997, allocations: 29.16 kB / 2.517 GB, free: 0.767 GB / 1.498 GB Notification: Performance of matching and sorting (n=1151) (initialization_lambda0): time 0.02997/5.027, allocations: 11.79 MB / 2.529 GB, free: 0.7664 GB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 8.869e-05/5.028, allocations: 48.38 kB / 2.529 GB, free: 0.7664 GB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002176/5.028, allocations: 112.5 kB / 2.529 GB, free: 0.7664 GB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/5.028, allocations: 211.2 kB / 2.529 GB, free: 0.7664 GB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008323/5.036, allocations: 2.099 MB / 2.531 GB, free: 0.7663 GB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/5.038, allocations: 2.115 MB / 2.533 GB, free: 0.7647 GB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01427/5.052, allocations: 1.065 MB / 2.534 GB, free: 0.7647 GB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001862/5.054, allocations: 468.7 kB / 2.535 GB, free: 0.7647 GB / 1.498 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 6 (conTChiWat6.con1.y,conTChiWat5.con1.y,conTChiWat4.con1.y,conTChiWat3.con1.y,conTChiWat2.con1.y,conTChiWat1.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1121): * Single equations (assignments): 1098 * Array equations: 14 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.002121/5.056, allocations: 0.7969 MB / 2.536 GB, free: 0.7644 GB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005642/5.062, allocations: 1.802 MB / 2.537 GB, free: 0.7644 GB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02438/5.086, allocations: 9.572 MB / 2.547 GB, free: 0.7634 GB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01549/5.102, allocations: 6.332 MB / 2.553 GB, free: 0.7613 GB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/5.102, allocations: 1.781 kB / 2.553 GB, free: 0.7613 GB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009018/5.111, allocations: 3.075 MB / 2.556 GB, free: 0.76 GB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005359/5.116, allocations: 132.6 kB / 2.556 GB, free: 0.7599 GB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01184/5.128, allocations: 488.9 kB / 2.556 GB, free: 0.7599 GB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001295/5.13, allocations: 367.5 kB / 2.557 GB, free: 0.7598 GB / 1.498 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02291/5.153, allocations: 8.052 MB / 2.565 GB, free: 0.7573 GB / 1.498 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02658/5.179, allocations: 12.99 MB / 2.577 GB, free: 0.752 GB / 1.498 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00593/5.185, allocations: 3.448 MB / 2.581 GB, free: 0.7508 GB / 1.498 GB Notification: Performance of sorting global known variables: time 0.02465/5.21, allocations: 13.64 MB / 2.594 GB, free: 0.7462 GB / 1.498 GB Notification: Performance of Backend: time 9.22e-07/5.21, allocations: 2.625 kB / 2.594 GB, free: 0.7462 GB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.03823/5.248, allocations: 14.75 MB / 2.608 GB, free: 0.742 GB / 1.498 GB Notification: Performance of SimCode: time 0.09447/5.343, allocations: 45.92 MB / 2.653 GB, free: 0.7148 GB / 1.498 GB Notification: Performance of Templates: time 0.4935/5.836, allocations: 395.5 MB / 3.039 GB, free: 345.2 MB / 1.498 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.sim & ./Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.pipe 2>&1)