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.001083/0.001083, allocations: 103.9 kB / 16.4 MB, free: 6.5 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.0009974/0.0009975, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6908/0.6908, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 69.59 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1391, allocations: 76.17 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00229/0.1414, allocations: 1.242 MB / 0.6328 GB, free: 3.668 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.1424, allocations: 487.2 kB / 0.6333 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.1424, allocations: 0 / 0.6333 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.1425, allocations: 7.938 kB / 0.6333 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.243e-05/0.1426, allocations: 0 / 0.6333 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.143, allocations: 47.88 kB / 0.6334 GB, free: 3.133 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.634e-05/0.143, allocations: 15.98 kB / 0.6334 GB, free: 3.117 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.1431, allocations: 4 kB / 0.6334 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.42e-05/0.1431, allocations: 11.92 kB / 0.6334 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.674e-05/0.1432, allocations: 4 kB / 0.6334 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.1432, allocations: 7.938 kB / 0.6334 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.1434, allocations: 67.84 kB / 0.6335 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.1434, allocations: 7.984 kB / 0.6335 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.1435, allocations: 15.94 kB / 0.6335 GB, free: 3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.1436, allocations: 47.92 kB / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1436, allocations: 0 / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1436, allocations: 0 / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1436, allocations: 0 / 0.6335 GB, free: 2.953 MB / 478.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.0003899/0.144, allocations: 350.3 kB / 0.6339 GB, free: 2.566 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1441, allocations: 12.03 kB / 0.6339 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.1441, allocations: 34.75 kB / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.1442, allocations: 8.875 kB / 0.6339 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.227e-05/0.1442, allocations: 161 kB / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1443, allocations: 384 / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1443, allocations: 4.375 kB / 0.6341 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1444, allocations: 57.73 kB / 0.6341 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1444, allocations: 0 / 0.6341 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1444, allocations: 4 kB / 0.6341 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1445, allocations: 0 / 0.6341 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.1445, allocations: 16 kB / 0.6341 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.1447, allocations: 157.9 kB / 0.6343 GB, free: 2.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.922e-05/0.1447, allocations: 30.58 kB / 0.6343 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.1448, allocations: 24.88 kB / 0.6344 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.1448, allocations: 0 / 0.6344 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.1449, allocations: 67.28 kB / 0.6344 GB, free: 1.875 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.145, allocations: 4 kB / 0.6344 GB, free: 1.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002239/0.1452, allocations: 93.67 kB / 0.6345 GB, free: 1.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.1452, allocations: 59.39 kB / 0.6346 GB, free: 1.703 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.997e-05/0.1453, allocations: 97.77 kB / 0.6347 GB, free: 1.598 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1453, allocations: 33.64 kB / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.1454, allocations: 84.14 kB / 0.6348 GB, free: 1.473 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.1454, allocations: 7.906 kB / 0.6348 GB, free: 1.465 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.1454, allocations: 29.7 kB / 0.6348 GB, free: 1.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1455, allocations: 322.9 kB / 0.6351 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.1456, allocations: 19.98 kB / 0.6351 GB, free: 1.086 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.1457, allocations: 65.98 kB / 0.6352 GB, free: 1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1458, allocations: 93.94 kB / 0.6353 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1458, allocations: 4 kB / 0.6353 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001578/0.146, allocations: 125.4 kB / 0.6354 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.146, allocations: 5.719 kB / 0.6354 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.146, allocations: 4 kB / 0.6354 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.146, allocations: 0 / 0.6354 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.069e-05/0.1461, allocations: 15.98 kB / 0.6354 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1461, allocations: 3.938 kB / 0.6354 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.1462, allocations: 8 kB / 0.6354 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1462, allocations: 8 kB / 0.6355 GB, free: 0.7109 MB / 478.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.717e-05/0.1463, allocations: 129.9 kB / 0.6356 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.1463, allocations: 11.78 kB / 0.6356 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.1464, allocations: 7.969 kB / 0.6356 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1464, allocations: 0 / 0.6356 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1464, allocations: 0 / 0.6356 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1464, allocations: 0 / 0.6356 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.1465, allocations: 157.7 kB / 0.6357 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1465, allocations: 0 / 0.6357 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-06/0.1465, allocations: 3.938 kB / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1465, allocations: 0 / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1465, allocations: 8 kB / 0.6358 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1465, allocations: 0 / 0.6358 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1466, allocations: 3.938 kB / 0.6358 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.1467, allocations: 101.1 kB / 0.6359 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.1467, allocations: 85.05 kB / 0.6359 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1468, allocations: 0 / 0.6359 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.217e-05/0.1468, allocations: 4 kB / 0.6359 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.1468, allocations: 3.984 kB / 0.6359 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1468, allocations: 8.031 kB / 0.636 GB, free: 96 kB / 478.1 MB Notification: Performance of sorting global known variables: time 2.645e-05/0.1469, allocations: 75.28 kB / 0.636 GB, free: 20 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1469, allocations: 3.938 kB / 0.636 GB, free: 16 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1471, allocations: 16 kB / 0.636 GB, free: 0 / 478.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.0004934/0.1476, allocations: 0.6775 MB / 0.6367 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1477, allocations: 59.91 kB / 0.6368 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1478, allocations: 0 / 0.6368 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.1478, allocations: 20 kB / 0.6368 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.1479, allocations: 3.5 kB / 0.6368 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.1484, allocations: 159.1 kB / 0.6369 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1487, allocations: 0.6772 MB / 0.6376 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.47e-05/0.1487, allocations: 11.98 kB / 0.6376 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.1488, allocations: 11.44 kB / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1488, allocations: 0 / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.1665, allocations: 1.605 MB / 0.6392 GB, free: 12.89 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.714, allocations: 7.938 kB / 0.6392 GB, free: 12.88 MB / 494.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)