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/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.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/BuildSysPro 3.5.0/package.mo): time 0.754/0.754, allocations: 127.3 MB / 139.8 MB, free: 15.44 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.001034/0.001034, allocations: 188.8 kB / 169.7 MB, free: 1.73 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.706/1.706, allocations: 205.1 MB / 404.5 MB, free: 1.648 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.001036/0.001036, allocations: 89.12 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.332e-05, allocations: 4 kB / 0.5534 GB, free: 54.66 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1591, allocations: 76.77 MB / 0.6283 GB, free: 9.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5725/0.7316, allocations: 107.3 MB / 0.7331 GB, free: 6.117 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/0.732, allocations: 117.3 kB / 0.7332 GB, free: 6.039 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01791/0.7499, allocations: 6.244 MB / 0.7393 GB, free: 0.707 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.75, allocations: 0 / 0.7393 GB, free: 0.707 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.75, allocations: 0 / 0.7393 GB, free: 0.707 MB / 490.7 MB 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.0005184/0.7505, allocations: 401.6 kB / 0.7397 GB, free: 280 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.7506, allocations: 8.031 kB / 0.7397 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.7506, allocations: 30.56 kB / 0.7398 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.7507, allocations: 12.64 kB / 0.7398 GB, free: 220 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.7508, allocations: 162.9 kB / 0.7399 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.7509, allocations: 0 / 0.7399 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.7509, allocations: 7.938 kB / 0.7399 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.751, allocations: 37.12 kB / 0.74 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.7511, allocations: 4 kB / 0.74 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.7511, allocations: 4 kB / 0.74 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.7511, allocations: 0 / 0.74 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.088e-05/0.7512, allocations: 11.95 kB / 0.74 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.7514, allocations: 168.3 kB / 0.7402 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.647e-05/0.7515, allocations: 38.52 kB / 0.7402 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.7515, allocations: 12.58 kB / 0.7402 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008763/0.7524, allocations: 0.9892 MB / 0.7412 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.7524, allocations: 34.56 kB / 0.7412 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.7524, allocations: 0 / 0.7412 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.00015/0.7526, allocations: 53.19 kB / 0.7413 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.7526, allocations: 51.41 kB / 0.7413 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/0.7527, allocations: 96.44 kB / 0.7414 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.7527, allocations: 25.7 kB / 0.7414 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.7528, allocations: 83.58 kB / 0.7415 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.7528, allocations: 23.72 kB / 0.7415 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.7528, allocations: 0 / 0.7415 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.753, allocations: 318.2 kB / 0.7418 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.753, allocations: 11.94 kB / 0.7418 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.635e-05/0.753, allocations: 11.31 kB / 0.7418 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.753, allocations: 7.984 kB / 0.7419 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.753, allocations: 0 / 0.7419 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.974e-05/0.7531, allocations: 53.17 kB / 0.7419 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.7532, allocations: 4 kB / 0.7419 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7532, allocations: 0 / 0.7419 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.7532, allocations: 3.984 kB / 0.7419 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.7533, allocations: 12 kB / 0.7419 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.7533, allocations: 0 / 0.7419 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.364e-05/0.7533, allocations: 8 kB / 0.7419 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.7534, allocations: 0 / 0.7419 GB, free: 13.66 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 (4): * Single equations (assignments): 4 * 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 7.092e-05/0.7534, allocations: 112.5 kB / 0.742 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.7534, allocations: 4 kB / 0.742 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.7536, allocations: 61.22 kB / 0.7421 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.7536, allocations: 0 / 0.7421 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7536, allocations: 0 / 0.7421 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7536, allocations: 0 / 0.7421 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.7537, allocations: 164.8 kB / 0.7423 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7537, allocations: 4 kB / 0.7423 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.7538, allocations: 15.98 kB / 0.7423 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.7538, allocations: 0 / 0.7423 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.7538, allocations: 0 / 0.7423 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.7539, allocations: 0 / 0.7423 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7539, allocations: 7.938 kB / 0.7423 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.832e-05/0.754, allocations: 83.73 kB / 0.7424 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.754, allocations: 81.05 kB / 0.7424 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.754, allocations: 7.984 kB / 0.7425 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.7541, allocations: 3.188 kB / 0.7425 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.7541, allocations: 4 kB / 0.7425 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.7541, allocations: 0 / 0.7425 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.753e-05/0.7541, allocations: 86.59 kB / 0.7425 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7542, allocations: 0 / 0.7425 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002458/0.7544, allocations: 43.92 kB / 0.7426 GB, free: 12.93 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 (4): * Single equations (assignments): 4 * 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.0005447/0.755, allocations: 0.6775 MB / 0.7432 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.7551, allocations: 19.38 kB / 0.7433 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7551, allocations: 0 / 0.7433 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.7551, allocations: 15.19 kB / 0.7433 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.7552, allocations: 7.922 kB / 0.7433 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.7556, allocations: 130.4 kB / 0.7434 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.7559, allocations: 0.6848 MB / 0.7441 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.7559, allocations: 7.297 kB / 0.7441 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.756, allocations: 11.44 kB / 0.7441 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of SimCode: time 2.7e-07/0.756, allocations: 0 / 0.7441 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/0.7699, allocations: 1.908 MB / 0.746 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.7702, allocations: 243.6 kB / 0.7462 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.33, allocations: 0 / 0.7462 GB, free: 9.223 MB / 0.4948 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/linux/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)