Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildSysPro_BuildSysPro_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.001201/0.001201, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001265/0.001265, allocations: 198.2 kB / 16.25 MB, free: 6.621 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.252/1.252, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9235/0.9235, allocations: 143 MB / 433.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 67.89 kB / 0.5139 GB, free: 11.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1381, allocations: 82.05 MB / 0.594 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002251/0.1404, allocations: 1.415 MB / 0.5954 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1418, allocations: 1.068 MB / 0.5964 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.1419, allocations: 3.938 kB / 0.5964 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.1419, allocations: 0 / 0.5964 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.882e-05/0.142, allocations: 11.92 kB / 0.5964 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.1425, allocations: 191.2 kB / 0.5966 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.483e-05/0.1425, allocations: 31.86 kB / 0.5966 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.1426, allocations: 4 kB / 0.5966 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.991e-05/0.1426, allocations: 7.938 kB / 0.5967 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.1427, allocations: 23.92 kB / 0.5967 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.1427, allocations: 0 / 0.5967 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.1432, allocations: 427.4 kB / 0.5971 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.1432, allocations: 7.969 kB / 0.5971 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.1433, allocations: 19.88 kB / 0.5971 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.1435, allocations: 191.9 kB / 0.5973 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1435, allocations: 0 / 0.5973 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1435, allocations: 0 / 0.5973 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.1436, allocations: 0 / 0.5973 GB, free: 6.281 MB / 0.4981 GB 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.000393/0.144, allocations: 395.3 kB / 0.5977 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.144, allocations: 12.03 kB / 0.5977 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.771e-05/0.144, allocations: 34.75 kB / 0.5977 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.102e-05/0.144, allocations: 4.844 kB / 0.5977 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.602e-05/0.1441, allocations: 164.4 kB / 0.5979 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1442, allocations: 384 / 0.5979 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1442, allocations: 4.375 kB / 0.5979 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.27e-05/0.1443, allocations: 45.75 kB / 0.5979 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1443, allocations: 0 / 0.5979 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.1443, allocations: 4 kB / 0.5979 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1443, allocations: 0 / 0.5979 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.01e-05/0.1444, allocations: 15.97 kB / 0.5979 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.1445, allocations: 165.6 kB / 0.5981 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/0.1446, allocations: 38.61 kB / 0.5981 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.1446, allocations: 20.89 kB / 0.5982 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008246/0.1455, allocations: 0.9856 MB / 0.5991 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1455, allocations: 42.42 kB / 0.5992 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1455, allocations: 0 / 0.5992 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000137/0.1456, allocations: 57.69 kB / 0.5992 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.1457, allocations: 51.41 kB / 0.5993 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.965e-05/0.1457, allocations: 105.9 kB / 0.5994 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1458, allocations: 25.7 kB / 0.5994 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.1458, allocations: 88.12 kB / 0.5995 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.1458, allocations: 11.75 kB / 0.5995 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.1459, allocations: 17.72 kB / 0.5995 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.146, allocations: 318.8 kB / 0.5998 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.146, allocations: 12 kB / 0.5998 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/0.146, allocations: 4 kB / 0.5998 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.1461, allocations: 20.8 kB / 0.5998 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1461, allocations: 0 / 0.5998 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.537e-05/0.1461, allocations: 53.62 kB / 0.5999 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1462, allocations: 11.94 kB / 0.5999 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1462, allocations: 0 / 0.5999 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.1462, allocations: 0 / 0.5999 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1463, allocations: 15.98 kB / 0.5999 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.1463, allocations: 0 / 0.5999 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.1463, allocations: 8 kB / 0.5999 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1463, allocations: 3.938 kB / 0.5999 GB, free: 3.125 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.1464, allocations: 113.8 kB / 0.6 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.1464, allocations: 7.844 kB / 0.6 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.1465, allocations: 63.97 kB / 0.6001 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1465, allocations: 4 kB / 0.6001 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1465, allocations: 0 / 0.6001 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1466, allocations: 0 / 0.6001 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.43e-05/0.1467, allocations: 161.7 kB / 0.6003 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1467, allocations: 0 / 0.6003 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/0.1467, allocations: 20.3 kB / 0.6003 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1468, allocations: 0 / 0.6003 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.1468, allocations: 4 kB / 0.6003 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1468, allocations: 0 / 0.6003 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1468, allocations: 0 / 0.6003 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.835e-05/0.1469, allocations: 77.05 kB / 0.6004 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.1469, allocations: 92.95 kB / 0.6005 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.1469, allocations: 0 / 0.6005 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.412e-05/0.1469, allocations: 4 kB / 0.6005 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.147, allocations: 3.984 kB / 0.6005 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.147, allocations: 4 kB / 0.6005 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.975e-05/0.147, allocations: 79.28 kB / 0.6005 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.147, allocations: 0 / 0.6005 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002185/0.1472, allocations: 47.92 kB / 0.6006 GB, free: 2.348 MB / 0.4981 GB 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 (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.0004354/0.1477, allocations: 0.667 MB / 0.6012 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.576e-05/0.1478, allocations: 23.98 kB / 0.6013 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1478, allocations: 0 / 0.6013 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.436e-05/0.1478, allocations: 11.94 kB / 0.6013 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.148, allocations: 16.48 kB / 0.6013 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.1484, allocations: 209.7 kB / 0.6015 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.1486, allocations: 0.6768 MB / 0.6021 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.1486, allocations: 4 kB / 0.6021 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.1487, allocations: 15.44 kB / 0.6022 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1487, allocations: 4 kB / 0.6022 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2544/0.4031, allocations: 2.092 MB / 0.6042 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.4033, allocations: 303.1 kB / 0.6045 GB, free: 42.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.123, allocations: 0.75 kB / 0.6045 GB, free: 42.94 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)