Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.001428/0.001428, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001707/0.001707, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7016/0.7016, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 65.81 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001462/0.128, allocations: 0.5322 MB / 0.6321 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007586/0.1288, allocations: 0.777 MB / 0.6329 GB, free: 3.586 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.1288, allocations: 0 / 0.6329 GB, free: 3.586 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.112e-05/0.1288, allocations: 0 / 0.6329 GB, free: 3.586 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.1e-06/0.1288, allocations: 4 kB / 0.6329 GB, free: 3.582 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1291, allocations: 11.92 kB / 0.6329 GB, free: 3.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.204e-05/0.1291, allocations: 15.92 kB / 0.6329 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.1292, allocations: 4 kB / 0.6329 GB, free: 3.551 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.11e-05/0.1292, allocations: 0 / 0.6329 GB, free: 3.551 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1293, allocations: 19.98 kB / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-06/0.1293, allocations: 0 / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-06/0.1293, allocations: 0 / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.1293, allocations: 0 / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.206e-05/0.1293, allocations: 0 / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 3.501e-05/0.1294, allocations: 7.984 kB / 0.633 GB, free: 3.523 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1294, allocations: 0 / 0.633 GB, free: 3.523 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1294, allocations: 0 / 0.633 GB, free: 3.523 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1294, allocations: 4 kB / 0.633 GB, free: 3.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002359/0.1297, allocations: 315.6 kB / 0.6333 GB, free: 3.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1297, allocations: 8.031 kB / 0.6333 GB, free: 3.152 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.661e-05/0.1297, allocations: 30.75 kB / 0.6333 GB, free: 3.113 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.425e-05/0.1297, allocations: 0.9375 kB / 0.6333 GB, free: 3.113 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.411e-05/0.1298, allocations: 160.4 kB / 0.6335 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1298, allocations: 384 / 0.6335 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1298, allocations: 4.375 kB / 0.6335 GB, free: 2.914 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.675e-05/0.1299, allocations: 30.27 kB / 0.6335 GB, free: 2.879 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.13, allocations: 15.81 kB / 0.6335 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.13, allocations: 0 / 0.6335 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.13, allocations: 0 / 0.6335 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.266e-05/0.13, allocations: 3.938 kB / 0.6335 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.1302, allocations: 379.5 kB / 0.6339 GB, free: 2.438 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.908e-05/0.1303, allocations: 173.1 kB / 0.634 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.1303, allocations: 80.14 kB / 0.6341 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.1304, allocations: 83.25 kB / 0.6342 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.1304, allocations: 109.8 kB / 0.6343 GB, free: 1.977 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.1304, allocations: 0 / 0.6343 GB, free: 1.977 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 5.965e-05/0.1305, allocations: 29.69 kB / 0.6343 GB, free: 1.941 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.1305, allocations: 130.7 kB / 0.6345 GB, free: 1.801 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.56e-05/0.1306, allocations: 93.86 kB / 0.6345 GB, free: 1.699 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1306, allocations: 25.7 kB / 0.6346 GB, free: 1.668 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.1306, allocations: 80.14 kB / 0.6346 GB, free: 1.586 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.1307, allocations: 0 / 0.6346 GB, free: 1.586 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.1307, allocations: 17.62 kB / 0.6347 GB, free: 1.562 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.1308, allocations: 314.8 kB / 0.635 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-06/0.1308, allocations: 0 / 0.635 GB, free: 1.246 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-06/0.1308, allocations: 8.062 kB / 0.635 GB, free: 1.238 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/0.1308, allocations: 8.859 kB / 0.635 GB, free: 1.227 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1308, allocations: 3.938 kB / 0.635 GB, free: 1.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.919e-05/0.1309, allocations: 33.69 kB / 0.635 GB, free: 1.184 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1309, allocations: 4 kB / 0.635 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1309, allocations: 0 / 0.635 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1309, allocations: 0 / 0.635 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.177e-05/0.131, allocations: 4 kB / 0.635 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.131, allocations: 96 / 0.635 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.248e-06/0.131, allocations: 4 kB / 0.635 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.131, allocations: 0 / 0.635 GB, free: 1.172 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.692e-05/0.1311, allocations: 197 kB / 0.6352 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.1312, allocations: 105 kB / 0.6353 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.1312, allocations: 104.1 kB / 0.6354 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.632e-05/0.1313, allocations: 180.2 kB / 0.6356 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.146e-05/0.1313, allocations: 184.3 kB / 0.6358 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.817e-05/0.1314, allocations: 176.3 kB / 0.6359 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1316, allocations: 409.1 kB / 0.6363 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/0.1316, allocations: 101 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.1316, allocations: 108.9 kB / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.521e-05/0.1317, allocations: 184.2 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.1317, allocations: 188.2 kB / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-05/0.1318, allocations: 180.3 kB / 0.637 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.868e-05/0.1319, allocations: 184.2 kB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.132, allocations: 307.9 kB / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.132, allocations: 194 kB / 0.6377 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.1321, allocations: 176.3 kB / 0.6379 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.1322, allocations: 105 kB / 0.638 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.1322, allocations: 184.2 kB / 0.6381 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.1323, allocations: 105 kB / 0.6382 GB, free: 13.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.396e-05/0.1323, allocations: 79.28 kB / 0.6383 GB, free: 13.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1323, allocations: 0 / 0.6383 GB, free: 13.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002006/0.1325, allocations: 0 / 0.6383 GB, free: 13.57 MB / 494.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003177/0.1328, allocations: 0.8087 MB / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.891e-05/0.1329, allocations: 16.08 kB / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.1329, allocations: 0 / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.1329, allocations: 4 kB / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.1332, allocations: 462 kB / 0.6396 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.1335, allocations: 174 kB / 0.6397 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1337, allocations: 0.6807 MB / 0.6404 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.071e-05/0.1337, allocations: 0 / 0.6404 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.1338, allocations: 7.438 kB / 0.6404 GB, free: 11.34 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1338, allocations: 0 / 0.6404 GB, free: 11.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.1494, allocations: 0.9454 MB / 0.6413 GB, free: 10.58 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/7.436, allocations: 6.844 kB / 0.6413 GB, free: 10.57 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)