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.7103/0.7103, allocations: 127.4 MB / 134.9 MB, free: 3.703 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 184.9 kB / 164.7 MB, free: 6.535 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.475/1.475, allocations: 205.2 MB / 399.5 MB, free: 5.859 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.0009163/0.0009162, allocations: 90.36 kB / 476.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.09e-05, allocations: 8 kB / 0.5467 GB, free: 60.34 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1481, allocations: 76.76 MB / 0.6217 GB, free: 15.51 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5143/0.6625, allocations: 107.7 MB / 0.7268 GB, free: 7.754 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.6629, allocations: 110.3 kB / 0.7269 GB, free: 7.684 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02462/0.6875, allocations: 10.04 MB / 0.7367 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6876, allocations: 0 / 0.7367 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.6876, allocations: 4 kB / 0.7367 GB, free: 14.67 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.0007595/0.6883, allocations: 0.4958 MB / 0.7372 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.6884, allocations: 11.98 kB / 0.7372 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.282e-05/0.6885, allocations: 19.72 kB / 0.7372 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.6886, allocations: 191.9 kB / 0.7374 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.6886, allocations: 4 kB / 0.7374 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.6887, allocations: 8 kB / 0.7374 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004286/0.693, allocations: 2.918 MB / 0.7403 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.6935, allocations: 306.1 kB / 0.7406 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.6935, allocations: 0 / 0.7406 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.6936, allocations: 0 / 0.7406 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.6936, allocations: 4 kB / 0.7406 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.6941, allocations: 347.4 kB / 0.7409 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/0.6948, allocations: 480 kB / 0.7414 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.6951, allocations: 216.1 kB / 0.7416 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/0.6969, allocations: 1.461 MB / 0.743 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.6969, allocations: 35.77 kB / 0.743 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/0.6969, allocations: 4 kB / 0.743 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.001408/0.6983, allocations: 0.5668 MB / 0.7436 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.6984, allocations: 59.41 kB / 0.7437 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.6985, allocations: 124.8 kB / 0.7438 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.6986, allocations: 33.64 kB / 0.7438 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.6986, allocations: 91.42 kB / 0.7439 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.6988, allocations: 140.4 kB / 0.744 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.6988, allocations: 0 / 0.744 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6989, allocations: 337.7 kB / 0.7443 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.6993, allocations: 194.5 kB / 0.7445 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.6996, allocations: 198.5 kB / 0.7447 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008192/0.7004, allocations: 287 kB / 0.745 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7004, allocations: 0 / 0.745 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001261/0.7017, allocations: 0.5756 MB / 0.7456 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.7017, allocations: 4 kB / 0.7456 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7017, allocations: 1.625 kB / 0.7456 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.7018, allocations: 7.953 kB / 0.7456 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.7021, allocations: 95.58 kB / 0.7457 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.7021, allocations: 4 kB / 0.7457 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.7022, allocations: 19.69 kB / 0.7457 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.7022, allocations: 28.05 kB / 0.7457 GB, free: 5.398 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.0001286/0.7023, allocations: 108.7 kB / 0.7458 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001272/0.7036, allocations: 0.5637 MB / 0.7464 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.7037, allocations: 23.67 kB / 0.7464 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.7056, allocations: 0.9167 MB / 0.7473 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.7056, allocations: 4 kB / 0.7473 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7056, allocations: 4 kB / 0.7473 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.7057, allocations: 3.984 kB / 0.7473 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.7061, allocations: 355.4 kB / 0.7476 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7061, allocations: 0 / 0.7476 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.7064, allocations: 99.38 kB / 0.7477 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/0.7064, allocations: 7.984 kB / 0.7477 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.7064, allocations: 19.56 kB / 0.7478 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.7065, allocations: 11.89 kB / 0.7478 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7065, allocations: 0 / 0.7478 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.7077, allocations: 0.6027 MB / 0.7484 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.7078, allocations: 108.7 kB / 0.7485 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.7079, allocations: 0 / 0.7485 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.171e-05/0.7079, allocations: 0 / 0.7485 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.708, allocations: 38.86 kB / 0.7485 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.708, allocations: 31.42 kB / 0.7485 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.181e-05/0.7081, allocations: 106 kB / 0.7486 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7081, allocations: 0 / 0.7486 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006436/0.7088, allocations: 197.9 kB / 0.7488 GB, free: 2.355 MB / 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.002082/0.7108, allocations: 1.342 MB / 0.7501 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007221/0.7116, allocations: 478.5 kB / 0.7506 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7116, allocations: 0 / 0.7506 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.7119, allocations: 268.2 kB / 0.7508 GB, free: 372 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.7122, allocations: 35.28 kB / 0.7509 GB, free: 340 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009732/0.7132, allocations: 0.5898 MB / 0.7514 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.7135, allocations: 0.7566 MB / 0.7522 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000538/0.7141, allocations: 341.8 kB / 0.7525 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.7142, allocations: 92.16 kB / 0.7526 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.7143, allocations: 0 / 0.7526 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.7434, allocations: 6.804 MB / 0.7592 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/0.7437, allocations: 221.4 kB / 0.7595 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.42, allocations: 7.875 kB / 0.7595 GB, free: 7.555 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)