Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001317/0.001317, allocations: 107 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.001344/0.001344, allocations: 193.2 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.276/1.276, 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.7021/0.7021, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 69.86 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.133, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002418/0.1354, allocations: 1.273 MB / 0.6329 GB, free: 3.633 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008249/0.1363, allocations: 451.2 kB / 0.6333 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.1364, allocations: 3.938 kB / 0.6333 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.951e-05/0.1365, allocations: 0 / 0.6333 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.1366, allocations: 15.92 kB / 0.6333 GB, free: 3.168 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1368, allocations: 31.83 kB / 0.6334 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.454e-05/0.1369, allocations: 23.92 kB / 0.6334 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.137, allocations: 0 / 0.6334 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.137, allocations: 15.97 kB / 0.6334 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.814e-05/0.1371, allocations: 11.94 kB / 0.6334 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.1371, allocations: 0 / 0.6334 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1372, allocations: 47.89 kB / 0.6334 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.1373, allocations: 19.97 kB / 0.6335 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.1373, allocations: 11.88 kB / 0.6335 GB, free: 3.008 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.1375, allocations: 58.69 kB / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1375, allocations: 0 / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1375, allocations: 3.938 kB / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1375, allocations: 0 / 0.6335 GB, free: 2.949 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003893/0.1379, allocations: 348.2 kB / 0.6339 GB, free: 2.562 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1379, allocations: 8.031 kB / 0.6339 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.138, allocations: 34.73 kB / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.138, allocations: 12.84 kB / 0.6339 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.1382, allocations: 168.4 kB / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1382, allocations: 384 / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.1382, allocations: 384 / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.875e-05/0.1383, allocations: 51.47 kB / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1383, allocations: 0 / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1383, allocations: 4 kB / 0.6341 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1383, allocations: 0 / 0.6341 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.326e-05/0.1384, allocations: 12 kB / 0.6341 GB, free: 2.219 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.1385, allocations: 174.4 kB / 0.6343 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.248e-05/0.1386, allocations: 41.16 kB / 0.6344 GB, free: 1.938 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.1386, allocations: 21.77 kB / 0.6344 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.1387, allocations: 4 kB / 0.6344 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1387, allocations: 42.48 kB / 0.6344 GB, free: 1.855 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1387, allocations: 0 / 0.6344 GB, free: 1.855 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001456/0.1388, allocations: 45.64 kB / 0.6345 GB, free: 1.805 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.1389, allocations: 81.09 kB / 0.6345 GB, free: 1.707 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.139, allocations: 137.7 kB / 0.6347 GB, free: 1.562 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.139, allocations: 25.95 kB / 0.6347 GB, free: 1.531 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.1391, allocations: 92.14 kB / 0.6348 GB, free: 1.438 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.1391, allocations: 11.83 kB / 0.6348 GB, free: 1.426 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.1391, allocations: 21.72 kB / 0.6348 GB, free: 1.398 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.1392, allocations: 322.8 kB / 0.6351 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.1393, allocations: 23.98 kB / 0.6351 GB, free: 1.051 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.1393, allocations: 20 kB / 0.6352 GB, free: 1.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.1394, allocations: 47.84 kB / 0.6352 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1394, allocations: 11.88 kB / 0.6352 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001364/0.1395, allocations: 109.5 kB / 0.6353 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1396, allocations: 4 kB / 0.6353 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.1396, allocations: 0 / 0.6353 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1396, allocations: 0 / 0.6353 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.425e-05/0.1397, allocations: 11.92 kB / 0.6353 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1397, allocations: 0 / 0.6353 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.1397, allocations: 11.84 kB / 0.6354 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1397, allocations: 0 / 0.6354 GB, free: 0.832 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.688e-05/0.1398, allocations: 109.8 kB / 0.6355 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.1398, allocations: 15.84 kB / 0.6355 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.1398, allocations: 11.52 kB / 0.6355 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1398, allocations: 0 / 0.6355 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1399, allocations: 0 / 0.6355 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1399, allocations: 0 / 0.6355 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.941e-05/0.14, allocations: 157.7 kB / 0.6356 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.14, allocations: 0 / 0.6356 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/0.14, allocations: 7.938 kB / 0.6356 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.14, allocations: 0 / 0.6356 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.14, allocations: 4 kB / 0.6356 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.14, allocations: 0 / 0.6356 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.14, allocations: 4 kB / 0.6356 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.515e-05/0.1401, allocations: 73.92 kB / 0.6357 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.1402, allocations: 88.95 kB / 0.6358 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1402, allocations: 0 / 0.6358 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.88e-05/0.1402, allocations: 7.984 kB / 0.6358 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.1402, allocations: 0 / 0.6358 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1402, allocations: 4.031 kB / 0.6358 GB, free: 260 kB / 478.1 MB Notification: Performance of sorting global known variables: time 5.11e-05/0.1403, allocations: 99.27 kB / 0.6359 GB, free: 160 kB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1403, allocations: 0 / 0.6359 GB, free: 160 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.000203/0.1405, allocations: 16 kB / 0.6359 GB, free: 144 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004132/0.1409, allocations: 0.6404 MB / 0.6366 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.1411, allocations: 81.67 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1411, allocations: 0 / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.807e-05/0.1411, allocations: 8 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.1413, allocations: 12.05 kB / 0.6366 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1423, allocations: 1.31 MB / 0.6379 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.1426, allocations: 0.6923 MB / 0.6386 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.138e-05/0.1426, allocations: 0 / 0.6386 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.1426, allocations: 15.44 kB / 0.6386 GB, free: 13.24 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1426, allocations: 0 / 0.6386 GB, free: 13.24 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.1621, allocations: 1.711 MB / 0.6403 GB, free: 11.72 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/7.438, allocations: 12.72 kB / 0.6403 GB, free: 11.71 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)