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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.007176/0.007176, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001838/0.001838, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9456/0.9456, allocations: 143.3 MB / 433.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 61.44 kB / 0.5954 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1611, allocations: 82.03 MB / 0.6755 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002472/0.1636, allocations: 1.362 MB / 0.6768 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.1654, allocations: 1.076 MB / 0.6779 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.1655, allocations: 4 kB / 0.6779 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.1655, allocations: 3.938 kB / 0.6779 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.1656, allocations: 11.92 kB / 0.6779 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.1663, allocations: 221.2 kB / 0.6781 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.615e-05/0.1664, allocations: 31.8 kB / 0.6781 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.1664, allocations: 8 kB / 0.6781 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.49e-05/0.1665, allocations: 11.98 kB / 0.6782 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.1665, allocations: 15.92 kB / 0.6782 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1666, allocations: 0 / 0.6782 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006614/0.1672, allocations: 427.4 kB / 0.6786 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.1673, allocations: 7.938 kB / 0.6786 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.1673, allocations: 15.92 kB / 0.6786 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.1676, allocations: 195.7 kB / 0.6788 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1676, allocations: 0 / 0.6788 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1676, allocations: 0 / 0.6788 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1677, allocations: 4 kB / 0.6788 GB, free: 7.16 MB / 0.5137 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.0005024/0.1682, allocations: 394.8 kB / 0.6792 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1682, allocations: 8.031 kB / 0.6792 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.1683, allocations: 34.73 kB / 0.6792 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.1683, allocations: 4.938 kB / 0.6792 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.1684, allocations: 168.3 kB / 0.6794 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1685, allocations: 4.375 kB / 0.6794 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.1685, allocations: 4.312 kB / 0.6794 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1686, allocations: 45.81 kB / 0.6794 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1686, allocations: 7.875 kB / 0.6794 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.1686, allocations: 4 kB / 0.6794 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1686, allocations: 0 / 0.6794 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.111e-05/0.1687, allocations: 15.98 kB / 0.6795 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.1689, allocations: 157.7 kB / 0.6796 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.232e-05/0.169, allocations: 38.56 kB / 0.6796 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.169, allocations: 16.89 kB / 0.6797 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.1701, allocations: 0.9895 MB / 0.6806 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1701, allocations: 42.44 kB / 0.6807 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1701, allocations: 0 / 0.6807 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0001779/0.1703, allocations: 53.88 kB / 0.6807 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1703, allocations: 55.41 kB / 0.6808 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.636e-05/0.1704, allocations: 102.1 kB / 0.6809 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1705, allocations: 29.7 kB / 0.6809 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.1705, allocations: 80.14 kB / 0.681 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1705, allocations: 19.89 kB / 0.681 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.1706, allocations: 17.72 kB / 0.681 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1707, allocations: 314.8 kB / 0.6813 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.1707, allocations: 7.984 kB / 0.6813 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.811e-05/0.1708, allocations: 7.984 kB / 0.6813 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.121e-05/0.1708, allocations: 24.8 kB / 0.6813 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1708, allocations: 0 / 0.6813 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.822e-05/0.1709, allocations: 61.58 kB / 0.6814 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1709, allocations: 4 kB / 0.6814 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.171, allocations: 0 / 0.6814 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.171, allocations: 0 / 0.6814 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1711, allocations: 19.98 kB / 0.6814 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1711, allocations: 4.062 kB / 0.6814 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.1711, allocations: 0 / 0.6814 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.1711, allocations: 4 kB / 0.6814 GB, free: 4 MB / 0.5137 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 7.535e-05/0.1712, allocations: 110.4 kB / 0.6815 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.1712, allocations: 7.938 kB / 0.6815 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.1714, allocations: 65.55 kB / 0.6816 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1714, allocations: 3.984 kB / 0.6816 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1714, allocations: 4 kB / 0.6816 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1714, allocations: 3.938 kB / 0.6816 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.1716, allocations: 161.6 kB / 0.6818 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1716, allocations: 0 / 0.6818 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.1716, allocations: 19.92 kB / 0.6818 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1717, allocations: 0 / 0.6818 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1717, allocations: 7.938 kB / 0.6818 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1717, allocations: 0 / 0.6818 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1717, allocations: 4 kB / 0.6818 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.1718, allocations: 81.06 kB / 0.6819 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.1719, allocations: 85 kB / 0.682 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.1719, allocations: 0 / 0.682 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.1719, allocations: 0 / 0.682 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.1719, allocations: 4 kB / 0.682 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1719, allocations: 0 / 0.682 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.083e-05/0.172, allocations: 91.27 kB / 0.6821 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.172, allocations: 0 / 0.6821 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002437/0.1722, allocations: 39.86 kB / 0.6821 GB, free: 3.219 MB / 0.5137 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.0005635/0.1728, allocations: 0.6707 MB / 0.6827 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.1729, allocations: 16.28 kB / 0.6828 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1729, allocations: 0 / 0.6828 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.173, allocations: 12.08 kB / 0.6828 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.1732, allocations: 15.34 kB / 0.6828 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.1737, allocations: 210.4 kB / 0.683 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.174, allocations: 0.6807 MB / 0.6837 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.174, allocations: 2.672 kB / 0.6837 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.1741, allocations: 11.44 kB / 0.6837 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1741, allocations: 4 kB / 0.6837 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.1979, allocations: 2.21 MB / 0.6858 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.463/8.661, allocations: 21.83 kB / 0.6858 GB, free: 15.51 MB / 0.5294 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)