Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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.FiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",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.006976/0.006976, allocations: 99.53 kB / 15.73 MB, free: 6.477 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.001437/0.001437, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 282.9 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9173/0.9173, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 96.08 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1461, allocations: 86.96 MB / 0.766 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.002459/0.1486, allocations: 1.36 MB / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1506, allocations: 1.313 MB / 0.7686 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.1507, allocations: 0 / 0.7686 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.1507, allocations: 7.875 kB / 0.7686 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.437e-05/0.1508, allocations: 23.91 kB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.1519, allocations: 370.9 kB / 0.769 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.1522, allocations: 372.6 kB / 0.7693 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.1523, allocations: 4 kB / 0.7693 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.1524, allocations: 115.9 kB / 0.7694 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.1527, allocations: 199.7 kB / 0.7696 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.62e-05/0.1527, allocations: 20 kB / 0.7696 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007821/0.1535, allocations: 499.3 kB / 0.7701 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.1537, allocations: 111.8 kB / 0.7702 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1538, allocations: 115.5 kB / 0.7703 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006745/0.1545, allocations: 0.5224 MB / 0.7708 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1545, allocations: 4 kB / 0.7708 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1545, allocations: 0 / 0.7708 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.1545, allocations: 0 / 0.7708 GB, free: 3.887 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006705/0.1552, allocations: 0.5378 MB / 0.7714 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1552, allocations: 16.02 kB / 0.7714 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.999e-05/0.1553, allocations: 54.73 kB / 0.7714 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.1554, allocations: 20.66 kB / 0.7715 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1555, allocations: 190.3 kB / 0.7716 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1555, allocations: 12.38 kB / 0.7716 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.1556, allocations: 24.31 kB / 0.7717 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.1561, allocations: 329.4 kB / 0.772 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1561, allocations: 0 / 0.772 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.1561, allocations: 4 kB / 0.772 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1561, allocations: 8 kB / 0.772 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2856/0.4417, allocations: 2.926 MB / 0.7749 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.4423, allocations: 388.8 kB / 0.7752 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/0.443, allocations: 0.4928 MB / 0.7757 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.4434, allocations: 237.5 kB / 0.7759 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.4446, allocations: 0.9286 MB / 0.7768 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.4446, allocations: 38.5 kB / 0.7769 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 1.744e-06/0.4446, allocations: 0.75 kB / 0.7769 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.001287/0.4459, allocations: 0.7658 MB / 0.7776 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.4459, allocations: 61.69 kB / 0.7777 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.446, allocations: 140 kB / 0.7778 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.4461, allocations: 33.89 kB / 0.7778 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.4461, allocations: 98.84 kB / 0.7779 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.805e-05/0.4462, allocations: 144.5 kB / 0.7781 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.4463, allocations: 97.16 kB / 0.7782 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.4464, allocations: 334.8 kB / 0.7785 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/0.4467, allocations: 205.7 kB / 0.7787 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.4471, allocations: 211.2 kB / 0.7789 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/0.4478, allocations: 494.1 kB / 0.7794 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4478, allocations: 0.9375 kB / 0.7794 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007948/0.4486, allocations: 0.5455 MB / 0.7799 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4486, allocations: 5.438 kB / 0.7799 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4486, allocations: 3 kB / 0.7799 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4486, allocations: 7.094 kB / 0.7799 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.4489, allocations: 94.77 kB / 0.78 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4489, allocations: 3.516 kB / 0.78 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.449, allocations: 28.47 kB / 0.78 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.449, allocations: 24.39 kB / 0.7801 GB, free: 13.37 MB / 0.5606 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 (43): * Single equations (assignments): 43 * 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 0.0001175/0.4492, allocations: 159.9 kB / 0.7802 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.4492, allocations: 17.84 kB / 0.7802 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.4507, allocations: 0.899 MB / 0.7811 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4507, allocations: 7.688 kB / 0.7811 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4507, allocations: 4.562 kB / 0.7811 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4507, allocations: 3.234 kB / 0.7811 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.4511, allocations: 404.9 kB / 0.7815 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4511, allocations: 0 / 0.7815 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.4514, allocations: 100.7 kB / 0.7816 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4514, allocations: 2.094 kB / 0.7816 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.4514, allocations: 24.78 kB / 0.7816 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4514, allocations: 6.75 kB / 0.7816 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4514, allocations: 0 / 0.7816 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.4522, allocations: 0.5858 MB / 0.7822 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.4522, allocations: 102 kB / 0.7823 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.4523, allocations: 8.188 kB / 0.7823 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.277e-05/0.4523, allocations: 18.05 kB / 0.7823 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.4524, allocations: 39.06 kB / 0.7824 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.4524, allocations: 19.53 kB / 0.7824 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.4525, allocations: 117 kB / 0.7825 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4525, allocations: 0 / 0.7825 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004289/0.4529, allocations: 187.4 kB / 0.7827 GB, free: 12.52 MB / 0.5606 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 (44): * Single equations (assignments): 44 * 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.001196/0.4541, allocations: 1.279 MB / 0.7839 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007072/0.4548, allocations: 0.5004 MB / 0.7844 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4548, allocations: 0 / 0.7844 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.4552, allocations: 284.3 kB / 0.7847 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.4555, allocations: 57.72 kB / 0.7847 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4565, allocations: 0.7106 MB / 0.7854 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.4567, allocations: 0.751 MB / 0.7862 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005152/0.4572, allocations: 342.7 kB / 0.7865 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.4574, allocations: 88.91 kB / 0.7866 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.4574, allocations: 0 / 0.7866 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.4823, allocations: 8.282 MB / 0.7947 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.391, allocations: 8.25 kB / 0.7947 GB, free: 9.965 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)