Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.0006955/0.0006955, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007106/0.0007107, allocations: 172.2 kB / 16.58 MB, free: 6.414 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.152/1.152, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.598/0.598, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002631, allocations: 8.75 kB / 493.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1141, allocations: 77.11 MB / 0.557 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001124/0.1152, allocations: 1.064 MB / 0.558 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1165, allocations: 0.9871 MB / 0.559 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.1165, allocations: 0 / 0.559 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.1165, allocations: 3.984 kB / 0.559 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.1166, allocations: 3.938 kB / 0.559 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.117, allocations: 159.1 kB / 0.5591 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.675e-05/0.117, allocations: 31.86 kB / 0.5592 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.1171, allocations: 0 / 0.5592 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.782e-05/0.1171, allocations: 19.86 kB / 0.5592 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.1172, allocations: 15.92 kB / 0.5592 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.168e-06/0.1172, allocations: 4 kB / 0.5592 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004811/0.1177, allocations: 403.5 kB / 0.5596 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.1177, allocations: 11.91 kB / 0.5596 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.1177, allocations: 33.7 kB / 0.5596 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1179, allocations: 132 kB / 0.5597 GB, free: 8.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1179, allocations: 0 / 0.5597 GB, free: 8.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1179, allocations: 0 / 0.5597 GB, free: 8.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.555e-06/0.1179, allocations: 0 / 0.5597 GB, free: 8.734 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003323/0.1182, allocations: 383.2 kB / 0.5601 GB, free: 8.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1183, allocations: 12.03 kB / 0.5601 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.1183, allocations: 38.55 kB / 0.5602 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.537e-05/0.1183, allocations: 0 / 0.5602 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.856e-05/0.1184, allocations: 167 kB / 0.5603 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-06/0.1185, allocations: 7.938 kB / 0.5603 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.1185, allocations: 3.953 kB / 0.5603 GB, free: 8.039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.596e-05/0.1186, allocations: 41.69 kB / 0.5604 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1186, allocations: 0 / 0.5604 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.1186, allocations: 0 / 0.5604 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.1186, allocations: 0 / 0.5604 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.1186, allocations: 8 kB / 0.5604 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.1188, allocations: 165.7 kB / 0.5605 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.226e-05/0.1188, allocations: 46.5 kB / 0.5606 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.1189, allocations: 16.92 kB / 0.5606 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007646/0.1196, allocations: 0.9856 MB / 0.5616 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.1197, allocations: 38.52 kB / 0.5616 GB, free: 6.445 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1197, allocations: 0 / 0.5616 GB, free: 6.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001264/0.1198, allocations: 53.69 kB / 0.5616 GB, free: 6.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.1199, allocations: 51.41 kB / 0.5617 GB, free: 6.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.1199, allocations: 105.8 kB / 0.5618 GB, free: 6.211 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.1199, allocations: 29.64 kB / 0.5618 GB, free: 6.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.12, allocations: 88.14 kB / 0.5619 GB, free: 6.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.12, allocations: 15.75 kB / 0.5619 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.12, allocations: 3.938 kB / 0.5619 GB, free: 6.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.1201, allocations: 318.8 kB / 0.5622 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.1201, allocations: 4 kB / 0.5622 GB, free: 5.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.1201, allocations: 4 kB / 0.5622 GB, free: 5.738 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.255e-05/0.1202, allocations: 8 kB / 0.5622 GB, free: 5.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1202, allocations: 4 kB / 0.5622 GB, free: 5.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.979e-05/0.1202, allocations: 53.59 kB / 0.5623 GB, free: 5.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1203, allocations: 11.95 kB / 0.5623 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.1203, allocations: 3.938 kB / 0.5623 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.1203, allocations: 0 / 0.5623 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.1204, allocations: 15.98 kB / 0.5623 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1204, allocations: 0 / 0.5623 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.1204, allocations: 3.938 kB / 0.5623 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.1204, allocations: 0 / 0.5623 GB, free: 5.633 MB / 430.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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.1205, allocations: 115.2 kB / 0.5624 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.1205, allocations: 4 kB / 0.5624 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.1206, allocations: 65.53 kB / 0.5625 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1206, allocations: 4 kB / 0.5625 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1206, allocations: 0 / 0.5625 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1206, allocations: 4 kB / 0.5625 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.563e-05/0.1207, allocations: 161.7 kB / 0.5627 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1207, allocations: 0 / 0.5627 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.924e-05/0.1208, allocations: 15.98 kB / 0.5627 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1208, allocations: 0 / 0.5627 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1208, allocations: 0 / 0.5627 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1208, allocations: 11.89 kB / 0.5627 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1209, allocations: 0 / 0.5627 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.845e-05/0.1209, allocations: 77.41 kB / 0.5628 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.121, allocations: 81.11 kB / 0.5628 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.121, allocations: 0 / 0.5628 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/0.121, allocations: 0 / 0.5628 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.121, allocations: 7.984 kB / 0.5629 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.1211, allocations: 7.984 kB / 0.5629 GB, free: 4.984 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.654e-05/0.1211, allocations: 87.28 kB / 0.5629 GB, free: 4.898 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1211, allocations: 0 / 0.5629 GB, free: 4.898 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002037/0.1213, allocations: 39.92 kB / 0.563 GB, free: 4.859 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003914/0.1217, allocations: 0.6708 MB / 0.5636 GB, free: 4.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.946e-05/0.1218, allocations: 15.98 kB / 0.5637 GB, free: 4.145 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1218, allocations: 4 kB / 0.5637 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/0.1218, allocations: 15.94 kB / 0.5637 GB, free: 4.125 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.122, allocations: 8.656 kB / 0.5637 GB, free: 4.117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.1223, allocations: 216.3 kB / 0.5639 GB, free: 3.867 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.1225, allocations: 0.6809 MB / 0.5646 GB, free: 3.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.998e-05/0.1226, allocations: 8 kB / 0.5646 GB, free: 3.152 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.1226, allocations: 19.42 kB / 0.5646 GB, free: 3.133 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1226, allocations: 0 / 0.5646 GB, free: 3.133 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01053/0.1331, allocations: 1.95 MB / 0.5665 GB, free: 1.43 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/0.1334, allocations: 267.6 kB / 0.5667 GB, free: 1.074 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.402/1.536, allocations: 3.453 kB / 0.5667 GB, free: 1.074 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) Environment - environmentSimulation: