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: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001198/0.001198, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.8617/0.8617, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 0.5157 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3891, allocations: 82.04 MB / 0.5958 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002923/0.3921, allocations: 1.352 MB / 0.5971 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3937, allocations: 1.083 MB / 0.5981 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.3937, allocations: 0 / 0.5981 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.3938, allocations: 3.938 kB / 0.5982 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.224e-05/0.3939, allocations: 8.703 kB / 0.5982 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.3945, allocations: 220.3 kB / 0.5984 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.744e-05/0.3945, allocations: 31.86 kB / 0.5984 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.3946, allocations: 0 / 0.5984 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.789e-05/0.3947, allocations: 25.34 kB / 0.5984 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.3948, allocations: 11.92 kB / 0.5984 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.3948, allocations: 4 kB / 0.5984 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.3953, allocations: 428.8 kB / 0.5988 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.3953, allocations: 7.984 kB / 0.5989 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.3953, allocations: 7.938 kB / 0.5989 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.3956, allocations: 199.5 kB / 0.5991 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3956, allocations: 0.8438 kB / 0.5991 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3956, allocations: 3.938 kB / 0.5991 GB, free: 12.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3956, allocations: 1.344 kB / 0.5991 GB, free: 12.76 MB / 446.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.000392/0.396, allocations: 385.2 kB / 0.5994 GB, free: 12.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3961, allocations: 9.375 kB / 0.5994 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.3961, allocations: 8.844 kB / 0.5994 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.3962, allocations: 164.3 kB / 0.5996 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3962, allocations: 4.375 kB / 0.5996 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3963, allocations: 1.906 kB / 0.5996 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.3964, allocations: 45.94 kB / 0.5997 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3964, allocations: 4 kB / 0.5997 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3964, allocations: 1.281 kB / 0.5997 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3964, allocations: 0 / 0.5997 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.014e-05/0.3965, allocations: 15.98 kB / 0.5997 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.3966, allocations: 159 kB / 0.5998 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.3967, allocations: 43.59 kB / 0.5999 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.3968, allocations: 16.8 kB / 0.5999 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006849/0.3975, allocations: 0.9893 MB / 0.6008 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.3975, allocations: 35.84 kB / 0.6009 GB, free: 10.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.3975, allocations: 0 / 0.6009 GB, free: 10.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001538/0.3977, allocations: 61.59 kB / 0.6009 GB, free: 10.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.3977, allocations: 52.78 kB / 0.601 GB, free: 10.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.789e-05/0.3978, allocations: 105.8 kB / 0.6011 GB, free: 10.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.3978, allocations: 25.7 kB / 0.6011 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.985e-05/0.3978, allocations: 81.61 kB / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.3978, allocations: 19.8 kB / 0.6012 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.3979, allocations: 13.72 kB / 0.6012 GB, free: 10.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.485e-05/0.3979, allocations: 319.7 kB / 0.6015 GB, free: 9.809 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.3979, allocations: 9.078 kB / 0.6015 GB, free: 9.801 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.398, allocations: 4 kB / 0.6015 GB, free: 9.797 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.398, allocations: 28.8 kB / 0.6016 GB, free: 9.766 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.398, allocations: 1.531 kB / 0.6016 GB, free: 9.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.339e-05/0.3981, allocations: 53.62 kB / 0.6016 GB, free: 9.707 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3981, allocations: 7.938 kB / 0.6016 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3981, allocations: 0 / 0.6016 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3981, allocations: 1.344 kB / 0.6016 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3982, allocations: 19.92 kB / 0.6017 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3982, allocations: 0 / 0.6017 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.3983, allocations: 5.344 kB / 0.6017 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3983, allocations: 0 / 0.6017 GB, free: 9.676 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.3983, allocations: 106.7 kB / 0.6018 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.3983, allocations: 11.84 kB / 0.6018 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.3985, allocations: 62.56 kB / 0.6018 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3985, allocations: 3.984 kB / 0.6018 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3985, allocations: 0 / 0.6018 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3985, allocations: 1 kB / 0.6018 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.994e-05/0.3986, allocations: 169.6 kB / 0.602 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3986, allocations: 1.5 kB / 0.602 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.3986, allocations: 19.92 kB / 0.602 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3987, allocations: 3.938 kB / 0.602 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.3987, allocations: 0 / 0.602 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3987, allocations: 4.906 kB / 0.602 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3987, allocations: 0 / 0.602 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.38e-05/0.3988, allocations: 74.5 kB / 0.6021 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.3988, allocations: 89.61 kB / 0.6022 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.3988, allocations: 0 / 0.6022 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.21e-05/0.3988, allocations: 1.281 kB / 0.6022 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.3988, allocations: 4 kB / 0.6022 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.3989, allocations: 0 / 0.6022 GB, free: 9.031 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.362e-05/0.3989, allocations: 93.08 kB / 0.6023 GB, free: 8.941 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3989, allocations: 0 / 0.6023 GB, free: 8.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.3991, allocations: 36 kB / 0.6023 GB, free: 8.906 MB / 446.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 (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.0002066/0.3993, allocations: 152.1 kB / 0.6025 GB, free: 8.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.793e-05/0.3994, allocations: 29.12 kB / 0.6025 GB, free: 8.723 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3994, allocations: 0 / 0.6025 GB, free: 8.723 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.873e-05/0.3995, allocations: 15.98 kB / 0.6025 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.3997, allocations: 9.266 kB / 0.6025 GB, free: 8.699 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.3999, allocations: 142.3 kB / 0.6026 GB, free: 8.535 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.669e-05/0.4, allocations: 0.682 MB / 0.6033 GB, free: 7.828 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.863e-05/0.4001, allocations: 4.25 kB / 0.6033 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.4001, allocations: 7.438 kB / 0.6033 GB, free: 7.82 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4001, allocations: 1.094 kB / 0.6033 GB, free: 7.82 MB / 446.1 MB Notification: Performance of Templates: time 0.003061/0.4032, allocations: 1.158 MB / 0.6045 GB, free: 6.773 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)