Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008116/0.000812, allocations: 93.19 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008657/0.0008657, allocations: 175.7 kB / 16.91 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6623/0.6623, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002915, allocations: 8.969 kB / 496 MB, free: 6.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1386, allocations: 77.53 MB / 0.5601 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001262/0.1399, allocations: 0.9654 MB / 0.561 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.1407, allocations: 475 kB / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.266e-05/0.1408, allocations: 0 / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.1408, allocations: 0 / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.1409, allocations: 7.922 kB / 0.5615 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1411, allocations: 39.95 kB / 0.5615 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.492e-05/0.1412, allocations: 23.97 kB / 0.5615 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.1413, allocations: 0 / 0.5615 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.211e-05/0.1413, allocations: 7.938 kB / 0.5616 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.1413, allocations: 19.91 kB / 0.5616 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.253e-06/0.1413, allocations: 0 / 0.5616 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1415, allocations: 67.86 kB / 0.5616 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.1415, allocations: 7.984 kB / 0.5616 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.1416, allocations: 37.64 kB / 0.5617 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1417, allocations: 59.89 kB / 0.5617 GB, free: 7.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1418, allocations: 4 kB / 0.5617 GB, free: 7.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1418, allocations: 0 / 0.5617 GB, free: 7.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1418, allocations: 0 / 0.5617 GB, free: 7.156 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002952/0.1421, allocations: 337.6 kB / 0.5621 GB, free: 6.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1421, allocations: 12.03 kB / 0.5621 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.1422, allocations: 34.75 kB / 0.5621 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.094e-05/0.1422, allocations: 0.9375 kB / 0.5621 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.212e-05/0.1423, allocations: 164.4 kB / 0.5623 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1423, allocations: 8.375 kB / 0.5623 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1423, allocations: 8.312 kB / 0.5623 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1424, allocations: 49.81 kB / 0.5623 GB, free: 6.457 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.1424, allocations: 0 / 0.5623 GB, free: 6.457 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1424, allocations: 7.875 kB / 0.5623 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1425, allocations: 0 / 0.5623 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.716e-05/0.1425, allocations: 16 kB / 0.5624 GB, free: 6.434 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.1426, allocations: 153.7 kB / 0.5625 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.635e-05/0.1427, allocations: 30.62 kB / 0.5625 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.1427, allocations: 20.89 kB / 0.5625 GB, free: 6.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-06/0.1427, allocations: 0 / 0.5625 GB, free: 6.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.1429, allocations: 79.33 kB / 0.5626 GB, free: 6.082 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1429, allocations: 0 / 0.5626 GB, free: 6.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001933/0.1431, allocations: 85.67 kB / 0.5627 GB, free: 5.992 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1431, allocations: 63.39 kB / 0.5628 GB, free: 5.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.64e-05/0.1432, allocations: 101.7 kB / 0.5629 GB, free: 5.809 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.1432, allocations: 29.7 kB / 0.5629 GB, free: 5.773 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.1432, allocations: 80.14 kB / 0.563 GB, free: 5.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1432, allocations: 19.83 kB / 0.563 GB, free: 5.672 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.1433, allocations: 17.72 kB / 0.563 GB, free: 5.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.1434, allocations: 322.9 kB / 0.5633 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.1434, allocations: 19.98 kB / 0.5633 GB, free: 5.305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.1435, allocations: 62 kB / 0.5634 GB, free: 5.223 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1436, allocations: 97.92 kB / 0.5635 GB, free: 5.105 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1436, allocations: 7.938 kB / 0.5635 GB, free: 5.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001619/0.1438, allocations: 121.5 kB / 0.5636 GB, free: 4.973 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1438, allocations: 5.875 kB / 0.5636 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1438, allocations: 4 kB / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.1438, allocations: 0 / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.1439, allocations: 15.98 kB / 0.5636 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.1439, allocations: 7.938 kB / 0.5636 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.144, allocations: 0 / 0.5636 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.144, allocations: 4 kB / 0.5636 GB, free: 4.938 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.103e-05/0.1441, allocations: 126.9 kB / 0.5638 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.1441, allocations: 11.84 kB / 0.5638 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.778e-05/0.1441, allocations: 3.969 kB / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1441, allocations: 0 / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1441, allocations: 0 / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.1441, allocations: 0 / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.1443, allocations: 157.6 kB / 0.5639 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1443, allocations: 3.938 kB / 0.5639 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-06/0.1443, allocations: 3.938 kB / 0.5639 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1443, allocations: 0 / 0.5639 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1443, allocations: 8 kB / 0.5639 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1443, allocations: 3.938 kB / 0.5639 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1443, allocations: 0 / 0.5639 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.1444, allocations: 113.2 kB / 0.5641 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.1445, allocations: 85.05 kB / 0.5641 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1445, allocations: 7.984 kB / 0.5641 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.327e-05/0.1445, allocations: 4 kB / 0.5641 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.1445, allocations: 3.984 kB / 0.5642 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1446, allocations: 8.031 kB / 0.5642 GB, free: 4.312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.225e-05/0.1446, allocations: 75.28 kB / 0.5642 GB, free: 4.238 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1446, allocations: 0 / 0.5642 GB, free: 4.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.1448, allocations: 24 kB / 0.5643 GB, free: 4.215 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004308/0.1452, allocations: 0.6709 MB / 0.5649 GB, free: 3.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.1454, allocations: 59.91 kB / 0.565 GB, free: 3.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1454, allocations: 0 / 0.565 GB, free: 3.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.1454, allocations: 16 kB / 0.565 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.1455, allocations: 1.531 kB / 0.565 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.1459, allocations: 166.7 kB / 0.5651 GB, free: 3.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1461, allocations: 0.6848 MB / 0.5658 GB, free: 2.527 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.035e-05/0.1462, allocations: 4 kB / 0.5658 GB, free: 2.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.1462, allocations: 11.44 kB / 0.5658 GB, free: 2.512 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1462, allocations: 3.938 kB / 0.5658 GB, free: 2.508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.1624, allocations: 1.364 MB / 0.5672 GB, free: 1.371 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.1627, allocations: 269.1 kB / 0.5674 GB, free: 1.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/1.878, allocations: 0 / 0.5674 GB, free: 1.02 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)