Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",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.006125/0.006125, allocations: 97.81 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.001491/0.001491, allocations: 195 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002814/0.002814, allocations: 284.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.044/1.044, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 95.86 kB / 0.681 GB, free: 7.383 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4736, allocations: 86.98 MB / 0.766 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource): time 0.002742/0.4763, allocations: 1.292 MB / 0.7672 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006377/0.477, allocations: 232.1 kB / 0.7674 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.4772, allocations: 4 kB / 0.7675 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.702e-05/0.4772, allocations: 0 / 0.7675 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.4774, allocations: 7.922 kB / 0.7675 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.4777, allocations: 47.83 kB / 0.7675 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.4778, allocations: 35.91 kB / 0.7675 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.4779, allocations: 7.984 kB / 0.7675 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.4779, allocations: 15.98 kB / 0.7676 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.478, allocations: 19.92 kB / 0.7676 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.478, allocations: 4 kB / 0.7676 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.4782, allocations: 43.89 kB / 0.7676 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.4782, allocations: 15.98 kB / 0.7676 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.4783, allocations: 19.86 kB / 0.7677 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.4784, allocations: 59.05 kB / 0.7677 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4784, allocations: 0 / 0.7677 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4784, allocations: 0 / 0.7677 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.4784, allocations: 4 kB / 0.7677 GB, free: 2.023 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004703/0.4789, allocations: 357.1 kB / 0.7681 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.479, allocations: 12.03 kB / 0.7681 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.479, allocations: 30.75 kB / 0.7681 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004179/0.4795, allocations: 24.89 kB / 0.7681 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.4796, allocations: 180.3 kB / 0.7683 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4797, allocations: 4.375 kB / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.4797, allocations: 384 / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.4798, allocations: 58.16 kB / 0.7684 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4798, allocations: 11.94 kB / 0.7684 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.4799, allocations: 4 kB / 0.7684 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4799, allocations: 0 / 0.7684 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.4802, allocations: 55.91 kB / 0.7684 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.4805, allocations: 169.7 kB / 0.7686 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.4806, allocations: 62.53 kB / 0.7686 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.403e-05/0.4807, allocations: 24.97 kB / 0.7687 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.4807, allocations: 8 kB / 0.7687 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.4808, allocations: 38.5 kB / 0.7687 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.4808, allocations: 3.938 kB / 0.7687 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0003597/0.4812, allocations: 101.5 kB / 0.7688 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.4812, allocations: 51.41 kB / 0.7689 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.4813, allocations: 109.8 kB / 0.769 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.4814, allocations: 29.7 kB / 0.769 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.4814, allocations: 84.14 kB / 0.7691 GB, free: 432 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.4815, allocations: 27.78 kB / 0.7691 GB, free: 404 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.4815, allocations: 25.7 kB / 0.7691 GB, free: 372 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4817, allocations: 314.8 kB / 0.7694 GB, free: 48 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.4817, allocations: 19.98 kB / 0.7694 GB, free: 28 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.643e-05/0.4818, allocations: 19.92 kB / 0.7695 GB, free: 8 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.4819, allocations: 53.19 kB / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4819, allocations: 0 / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002324/0.4822, allocations: 73.67 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4822, allocations: 11.92 kB / 0.7696 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4822, allocations: 4 kB / 0.7696 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4822, allocations: 0 / 0.7696 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.4824, allocations: 12 kB / 0.7696 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4824, allocations: 0 / 0.7696 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.4824, allocations: 7.984 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4824, allocations: 3.938 kB / 0.7696 GB, free: 15.84 MB / 0.545 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 (6): * Single equations (assignments): 6 * 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 8.44e-05/0.4825, allocations: 109.8 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.4826, allocations: 15.88 kB / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003566/0.483, allocations: 106.3 kB / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.4831, allocations: 0 / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.4831, allocations: 0 / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4831, allocations: 0 / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.4833, allocations: 177.6 kB / 0.77 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4833, allocations: 0 / 0.77 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.884e-05/0.4834, allocations: 11.94 kB / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.4834, allocations: 7.938 kB / 0.77 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4834, allocations: 3.984 kB / 0.77 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4834, allocations: 0 / 0.77 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4834, allocations: 4 kB / 0.77 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.4837, allocations: 113 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.4837, allocations: 85 kB / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.4838, allocations: 3.938 kB / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.4838, allocations: 7.984 kB / 0.7702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.4838, allocations: 4 kB / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.4839, allocations: 7.984 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.326e-05/0.4839, allocations: 91.27 kB / 0.7703 GB, free: 15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4839, allocations: 4 kB / 0.7703 GB, free: 14.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002832/0.4842, allocations: 19.94 kB / 0.7704 GB, free: 14.97 MB / 0.545 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 (7): * Single equations (assignments): 7 * 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.000676/0.4849, allocations: 0.6631 MB / 0.771 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.4851, allocations: 52 kB / 0.7711 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4851, allocations: 4 kB / 0.7711 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.4852, allocations: 35.91 kB / 0.7711 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.4854, allocations: 15.69 kB / 0.7711 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.4871, allocations: 1.337 MB / 0.7724 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.4875, allocations: 0.6885 MB / 0.7731 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.596e-05/0.4876, allocations: 32.64 kB / 0.7731 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.4876, allocations: 22.19 kB / 0.7731 GB, free: 12 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.4876, allocations: 3.938 kB / 0.7731 GB, free: 12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.5138, allocations: 2.319 MB / 0.7754 GB, free: 9.902 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.342, allocations: 13.27 kB / 0.7754 GB, free: 9.895 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe 2>&1)