Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7095/0.7095, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 176.8 kB / 169.7 MB, free: 1.758 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 404.5 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008508/0.0008508, allocations: 97.05 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.317e-05/4.32e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.71 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1714, allocations: 76.76 MB / 0.6283 GB, free: 9.898 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5205/0.692, allocations: 108.1 MB / 0.7338 GB, free: 5.406 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.6923, allocations: 117 kB / 0.734 GB, free: 5.328 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02532/0.7177, allocations: 10.05 MB / 0.7438 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7177, allocations: 0 / 0.7438 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.7177, allocations: 4 kB / 0.7438 GB, free: 12.23 MB / 0.4948 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.0007349/0.7185, allocations: 0.501 MB / 0.7443 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.7185, allocations: 8.031 kB / 0.7443 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.873e-05/0.7186, allocations: 56.55 kB / 0.7443 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.7187, allocations: 19.72 kB / 0.7443 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.7189, allocations: 182.9 kB / 0.7445 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.7189, allocations: 11.94 kB / 0.7445 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.7189, allocations: 19.25 kB / 0.7445 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.7195, allocations: 333 kB / 0.7449 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.7196, allocations: 0 / 0.7449 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.7196, allocations: 3.062 kB / 0.7449 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.7196, allocations: 8 kB / 0.7449 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004501/0.7241, allocations: 2.924 MB / 0.7477 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.7247, allocations: 390.8 kB / 0.7481 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007933/0.7255, allocations: 0.4917 MB / 0.7486 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.7259, allocations: 232.8 kB / 0.7488 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001926/0.7278, allocations: 1.458 MB / 0.7502 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.7279, allocations: 42.3 kB / 0.7503 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.7279, allocations: 3.938 kB / 0.7503 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.00102/0.7289, allocations: 0.532 MB / 0.7508 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.729, allocations: 67.34 kB / 0.7509 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.7291, allocations: 131.6 kB / 0.751 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.7292, allocations: 32.95 kB / 0.751 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.7293, allocations: 99.66 kB / 0.7511 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.7294, allocations: 139.4 kB / 0.7512 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.7294, allocations: 7.5 kB / 0.7512 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.7296, allocations: 333.8 kB / 0.7516 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.73, allocations: 202.5 kB / 0.7518 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.7303, allocations: 213.5 kB / 0.752 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.7307, allocations: 235.8 kB / 0.7522 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7307, allocations: 0 / 0.7522 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008754/0.7316, allocations: 0.5484 MB / 0.7527 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.7316, allocations: 7.953 kB / 0.7527 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7316, allocations: 0 / 0.7527 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.7317, allocations: 4 kB / 0.7527 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.732, allocations: 91.89 kB / 0.7528 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.732, allocations: 0 / 0.7528 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.158e-05/0.7321, allocations: 31.06 kB / 0.7529 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.7321, allocations: 27.61 kB / 0.7529 GB, free: 2.887 MB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.7323, allocations: 119.4 kB / 0.753 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.7323, allocations: 23.8 kB / 0.753 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.7339, allocations: 0.8994 MB / 0.7539 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.7339, allocations: 8 kB / 0.7539 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7339, allocations: 0 / 0.7539 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.734, allocations: 0 / 0.7539 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.7344, allocations: 401.8 kB / 0.7543 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7344, allocations: 0 / 0.7543 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.7347, allocations: 95.89 kB / 0.7544 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7347, allocations: 0 / 0.7544 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.7348, allocations: 26.92 kB / 0.7544 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.7348, allocations: 7.938 kB / 0.7544 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7348, allocations: 4 kB / 0.7544 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008965/0.7357, allocations: 0.5899 MB / 0.755 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.7358, allocations: 100.8 kB / 0.7551 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.7358, allocations: 5.375 kB / 0.7551 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.379e-05/0.7359, allocations: 9.375 kB / 0.7551 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.736, allocations: 38.91 kB / 0.7551 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.736, allocations: 30.86 kB / 0.7552 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.452e-05/0.7361, allocations: 105.5 kB / 0.7553 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7361, allocations: 0 / 0.7553 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007058/0.7368, allocations: 215.2 kB / 0.7555 GB, free: 408 kB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001759/0.7386, allocations: 1.307 MB / 0.7567 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008038/0.7394, allocations: 0.4896 MB / 0.7572 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.7394, allocations: 3.938 kB / 0.7572 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.7398, allocations: 285.4 kB / 0.7575 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.7401, allocations: 38.62 kB / 0.7575 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.7412, allocations: 0.6259 MB / 0.7582 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.7416, allocations: 0.7566 MB / 0.7589 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005515/0.7421, allocations: 349.4 kB / 0.7592 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.7423, allocations: 90.28 kB / 0.7593 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/0.7423, allocations: 3.938 kB / 0.7593 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.7644, allocations: 7.489 MB / 0.7666 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.7646, allocations: 227.5 kB / 0.7668 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.541, allocations: 4.062 kB / 0.7668 GB, free: 5.051 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_FiniteLineSource_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_FiniteLineSource.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource.pipe 2>&1)