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.001222/0.001222, allocations: 102.7 kB / 16.4 MB, free: 6.027 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.00119/0.00119, allocations: 193.6 kB / 17.34 MB, free: 5.598 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.281/1.281, 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.6957/0.6957, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 66.53 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1347, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001666/0.1364, allocations: 0.5346 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008917/0.1373, allocations: 0.7809 MB / 0.6329 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.1374, allocations: 0 / 0.6329 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.1374, allocations: 0 / 0.6329 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.1374, allocations: 0 / 0.6329 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.1377, allocations: 19.92 kB / 0.6329 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.93e-05/0.1378, allocations: 0 / 0.6329 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.1378, allocations: 4 kB / 0.6329 GB, free: 3.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.1378, allocations: 11.94 kB / 0.6329 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.138, allocations: 15.97 kB / 0.633 GB, free: 3.543 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.013e-06/0.138, allocations: 3.938 kB / 0.633 GB, free: 3.539 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-06/0.138, allocations: 8 kB / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.927e-06/0.138, allocations: 0 / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.138, allocations: 0 / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 3.652e-05/0.1381, allocations: 0 / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1381, allocations: 0 / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1381, allocations: 0 / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1381, allocations: 0 / 0.633 GB, free: 3.531 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.0002605/0.1384, allocations: 311.6 kB / 0.6333 GB, free: 3.176 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1384, allocations: 8.031 kB / 0.6333 GB, free: 3.168 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.1384, allocations: 34.75 kB / 0.6333 GB, free: 3.125 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.701e-05/0.1385, allocations: 4.938 kB / 0.6333 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.984e-05/0.1386, allocations: 164.4 kB / 0.6335 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.1386, allocations: 384 / 0.6335 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.1386, allocations: 384 / 0.6335 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/0.1387, allocations: 34.19 kB / 0.6335 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1387, allocations: 3.938 kB / 0.6335 GB, free: 2.879 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.1387, allocations: 0 / 0.6335 GB, free: 2.879 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1387, allocations: 0 / 0.6335 GB, free: 2.879 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.503e-05/0.1387, allocations: 4 kB / 0.6335 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.139, allocations: 375.5 kB / 0.6339 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.059e-05/0.1391, allocations: 177 kB / 0.634 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.1391, allocations: 84.08 kB / 0.6341 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1391, allocations: 79.27 kB / 0.6342 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.1392, allocations: 113.8 kB / 0.6343 GB, free: 1.988 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.1392, allocations: 0 / 0.6343 GB, free: 1.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 6.42e-05/0.1392, allocations: 29.7 kB / 0.6343 GB, free: 1.953 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1393, allocations: 130.7 kB / 0.6345 GB, free: 1.812 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.1394, allocations: 93.8 kB / 0.6345 GB, free: 1.711 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.1394, allocations: 25.7 kB / 0.6346 GB, free: 1.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.1394, allocations: 80.14 kB / 0.6346 GB, free: 1.598 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.1394, allocations: 128 / 0.6346 GB, free: 1.598 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.1395, allocations: 21.62 kB / 0.6347 GB, free: 1.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1396, allocations: 318.8 kB / 0.635 GB, free: 1.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-06/0.1396, allocations: 0 / 0.635 GB, free: 1.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-06/0.1396, allocations: 0 / 0.635 GB, free: 1.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.297e-05/0.1396, allocations: 8.859 kB / 0.635 GB, free: 1.238 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.1396, allocations: 7.938 kB / 0.635 GB, free: 1.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.793e-05/0.1397, allocations: 29.7 kB / 0.635 GB, free: 1.195 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1397, allocations: 12.09 kB / 0.635 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1397, allocations: 0 / 0.635 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1397, allocations: 0 / 0.635 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.1398, allocations: 7.875 kB / 0.635 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1398, allocations: 0 / 0.635 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-06/0.1398, allocations: 0 / 0.635 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1398, allocations: 4 kB / 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.983e-05/0.1399, allocations: 193 kB / 0.6352 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.14, allocations: 105 kB / 0.6353 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.14, allocations: 108 kB / 0.6354 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.874e-05/0.1401, allocations: 180.3 kB / 0.6356 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.277e-05/0.1401, allocations: 176.3 kB / 0.6358 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-05/0.1402, allocations: 184.2 kB / 0.6359 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1404, allocations: 409.2 kB / 0.6363 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/0.1404, allocations: 104.9 kB / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.1405, allocations: 101 kB / 0.6365 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-05/0.1405, allocations: 180.2 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.1406, allocations: 184.2 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.332e-05/0.1406, allocations: 180.3 kB / 0.637 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.364e-05/0.1407, allocations: 192.1 kB / 0.6372 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1408, allocations: 304 kB / 0.6375 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.1409, allocations: 186.1 kB / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.1409, allocations: 180.3 kB / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.141, allocations: 108.9 kB / 0.638 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.1411, allocations: 184.2 kB / 0.6381 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.1411, allocations: 101 kB / 0.6382 GB, free: 13.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.05e-05/0.1411, allocations: 75.28 kB / 0.6383 GB, free: 13.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.252e-06/0.1411, allocations: 4 kB / 0.6383 GB, free: 13.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001939/0.1413, allocations: 3.938 kB / 0.6383 GB, free: 13.58 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.0003233/0.1417, allocations: 0.8127 MB / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.503e-05/0.1417, allocations: 4 kB / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1417, allocations: 0 / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.1417, allocations: 7.938 kB / 0.6391 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1421, allocations: 466.3 kB / 0.6396 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.1424, allocations: 180.2 kB / 0.6397 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.1426, allocations: 0.6729 MB / 0.6404 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.023e-05/0.1426, allocations: 0 / 0.6404 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.1426, allocations: 7.438 kB / 0.6404 GB, free: 11.35 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1426, allocations: 0 / 0.6404 GB, free: 11.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.1594, allocations: 0.9542 MB / 0.6413 GB, free: 10.58 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.29/7.449, allocations: 14.77 kB / 0.6414 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)