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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.7277/0.7277, 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.001098/0.001098, allocations: 188.8 kB / 169.7 MB, free: 1.727 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.763/1.763, allocations: 205.1 MB / 404.5 MB, free: 1.641 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.001242/0.001242, allocations: 90.16 kB / 481.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.485e-05, allocations: 4 kB / 0.5534 GB, free: 54.67 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1539, allocations: 76.76 MB / 0.6283 GB, free: 9.855 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5851/0.739, allocations: 124.7 MB / 0.7501 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/0.7394, allocations: 124.5 kB / 0.7503 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04657/0.786, allocations: 15.29 MB / 0.7652 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.697e-06/0.7861, allocations: 0 / 0.7652 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.7861, allocations: 3.938 kB / 0.7652 GB, free: 7.012 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00142/0.7875, allocations: 0.5599 MB / 0.7657 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/0.7876, allocations: 12.03 kB / 0.7657 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.827e-05/0.7877, allocations: 109.8 kB / 0.7659 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.7878, allocations: 83.5 kB / 0.7659 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.788, allocations: 246.2 kB / 0.7662 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-05/0.7881, allocations: 153.8 kB / 0.7663 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.363e-05/0.7882, allocations: 150.6 kB / 0.7665 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.536e-05/0.7883, allocations: 109 kB / 0.7666 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.7883, allocations: 75.28 kB / 0.7666 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.441e-05/0.7884, allocations: 154.5 kB / 0.7668 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.874e-05/0.7885, allocations: 150.6 kB / 0.7669 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.7886, allocations: 158.5 kB / 0.7671 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.789, allocations: 461.6 kB / 0.7675 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.7891, allocations: 173.1 kB / 0.7677 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.7891, allocations: 80.14 kB / 0.7678 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.7892, allocations: 75.28 kB / 0.7678 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.504e-05/0.7893, allocations: 113.8 kB / 0.7679 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.7893, allocations: 4 kB / 0.7679 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.0001037/0.7894, allocations: 29.61 kB / 0.768 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.7895, allocations: 134.6 kB / 0.7681 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.7896, allocations: 115.5 kB / 0.7682 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.7897, allocations: 25.7 kB / 0.7682 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.7897, allocations: 94.62 kB / 0.7683 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-06/0.7898, allocations: 3.938 kB / 0.7683 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.7898, allocations: 0 / 0.7683 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.7899, allocations: 322.6 kB / 0.7686 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.79, allocations: 0 / 0.7686 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.79, allocations: 7.375 kB / 0.7686 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.789e-05/0.79, allocations: 4 kB / 0.7686 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.79, allocations: 0 / 0.7686 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001552/0.7902, allocations: 57.28 kB / 0.7687 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.7902, allocations: 4 kB / 0.7687 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.7902, allocations: 4 kB / 0.7687 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.7903, allocations: 0 / 0.7687 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.22e-06/0.7903, allocations: 4.062 kB / 0.7687 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.7903, allocations: 4 kB / 0.7687 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.7903, allocations: 7.938 kB / 0.7687 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.7903, allocations: 3.984 kB / 0.7687 GB, free: 3.199 MB / 0.5105 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001218/0.7905, allocations: 184.2 kB / 0.7689 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.7906, allocations: 112.8 kB / 0.769 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.984e-05/0.7906, allocations: 108.6 kB / 0.7691 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.775e-05/0.7907, allocations: 184.1 kB / 0.7693 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.784e-05/0.7908, allocations: 184.2 kB / 0.7695 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.992e-05/0.7909, allocations: 184.2 kB / 0.7696 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.7911, allocations: 412.9 kB / 0.77 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.841e-05/0.7912, allocations: 108.5 kB / 0.7701 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.7912, allocations: 101 kB / 0.7702 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.543e-05/0.7913, allocations: 184.2 kB / 0.7704 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/0.7914, allocations: 180.2 kB / 0.7706 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.391e-05/0.7915, allocations: 184.2 kB / 0.7708 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.43e-05/0.7915, allocations: 176.3 kB / 0.7709 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.7917, allocations: 311 kB / 0.7712 GB, free: 500 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.7918, allocations: 190 kB / 0.7714 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.4e-05/0.7919, allocations: 184.1 kB / 0.7716 GB, free: 96 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.7921, allocations: 102 kB / 0.7717 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.7921, allocations: 176.3 kB / 0.7718 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.7922, allocations: 112.9 kB / 0.7719 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.7923, allocations: 101.4 kB / 0.772 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7923, allocations: 0 / 0.772 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001304/0.7936, allocations: 319.6 kB / 0.7723 GB, free: 15.3 MB / 0.5261 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 (0): * Single equations (assignments): 0 * 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.00228/0.7959, allocations: 1.219 MB / 0.7735 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.796, allocations: 41.02 kB / 0.7736 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7961, allocations: 0 / 0.7736 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/0.7961, allocations: 3.938 kB / 0.7736 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.7965, allocations: 0.5258 MB / 0.7741 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.7975, allocations: 341.4 kB / 0.7744 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.7978, allocations: 0.6848 MB / 0.7751 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.7979, allocations: 4 kB / 0.7751 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.7979, allocations: 10.94 kB / 0.7751 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/0.7979, allocations: 0 / 0.7751 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.8232, allocations: 6.502 MB / 0.7815 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/0.8235, allocations: 271.2 kB / 0.7817 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.663, allocations: 0 / 0.7817 GB, free: 5.758 MB / 0.5261 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)