Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002405/0.002404, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8248/0.8248, allocations: 133.6 MB / 141.6 MB, free: 2.797 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008589/0.0008589, allocations: 99.05 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.15e-05, allocations: 4 kB / 0.5536 GB, free: 8.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4657, allocations: 82.31 MB / 0.634 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.6291, allocations: 119.1 MB / 0.7503 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.6294, allocations: 111.9 kB / 0.7504 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.04963/0.6791, allocations: 17.98 MB / 0.768 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6791, allocations: 0 / 0.768 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.6791, allocations: 12 kB / 0.768 GB, free: 1.355 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008856/0.68, allocations: 0.5736 MB / 0.7685 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6801, allocations: 8.031 kB / 0.7685 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.6802, allocations: 51.73 kB / 0.7686 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.6808, allocations: 355.9 kB / 0.7689 GB, free: 296 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.6808, allocations: 8 kB / 0.7689 GB, free: 288 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.6809, allocations: 19.92 kB / 0.7689 GB, free: 268 kB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002579/0.6811, allocations: 124.9 kB / 0.7691 GB, free: 144 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.6815, allocations: 158.4 kB / 0.7692 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.6815, allocations: 0 / 0.7692 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.6815, allocations: 0 / 0.7692 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.6815, allocations: 4 kB / 0.7692 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.6829, allocations: 0.8153 MB / 0.77 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.6831, allocations: 142.5 kB / 0.7702 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.6833, allocations: 92.84 kB / 0.7702 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.6833, allocations: 4 kB / 0.7702 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.6833, allocations: 30.56 kB / 0.7703 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.6833, allocations: 4 kB / 0.7703 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0003352/0.6837, allocations: 157.5 kB / 0.7704 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.6837, allocations: 51.41 kB / 0.7705 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.6841, allocations: 330.4 kB / 0.7708 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.6842, allocations: 25.7 kB / 0.7708 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.6843, allocations: 204.1 kB / 0.771 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/0.6844, allocations: 63.05 kB / 0.7711 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.6844, allocations: 0 / 0.7711 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6846, allocations: 346.8 kB / 0.7714 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.6847, allocations: 40 kB / 0.7714 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.6847, allocations: 44 kB / 0.7715 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.415e-05/0.6848, allocations: 45.66 kB / 0.7715 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6848, allocations: 0 / 0.7715 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002603/0.6851, allocations: 169.2 kB / 0.7717 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.6851, allocations: 9.25 kB / 0.7717 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6851, allocations: 0 / 0.7717 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6852, allocations: 0 / 0.7717 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.6855, allocations: 71.83 kB / 0.7718 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.6855, allocations: 0 / 0.7718 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.6857, allocations: 19.92 kB / 0.7718 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.6857, allocations: 4 kB / 0.7718 GB, free: 13.22 MB / 0.5573 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 (20): * Single equations (assignments): 20 * 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 8.075e-05/0.6858, allocations: 101 kB / 0.7719 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002547/0.686, allocations: 169 kB / 0.772 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.6861, allocations: 35.61 kB / 0.7721 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.577e-05/0.6862, allocations: 35.25 kB / 0.7721 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.6862, allocations: 4 kB / 0.7721 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.6862, allocations: 0 / 0.7721 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.6862, allocations: 0 / 0.7721 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.6866, allocations: 337.8 kB / 0.7724 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6866, allocations: 0 / 0.7724 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.6869, allocations: 55.97 kB / 0.7725 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.6869, allocations: 0 / 0.7725 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.687, allocations: 0 / 0.7725 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.687, allocations: 8 kB / 0.7725 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.687, allocations: 3.984 kB / 0.7725 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.6874, allocations: 320.7 kB / 0.7728 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.6875, allocations: 120.6 kB / 0.7729 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.6876, allocations: 4 kB / 0.7729 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.6878, allocations: 16.05 kB / 0.7729 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.6878, allocations: 11.98 kB / 0.773 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.6878, allocations: 4 kB / 0.773 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003021/0.6881, allocations: 264.6 kB / 0.7732 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6882, allocations: 0 / 0.7732 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003515/0.6885, allocations: 75.84 kB / 0.7733 GB, free: 11.61 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0009804/0.6895, allocations: 1.031 MB / 0.7743 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.6897, allocations: 105.3 kB / 0.7744 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6898, allocations: 0 / 0.7744 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.505e-05/0.6899, allocations: 67.92 kB / 0.7745 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.6903, allocations: 65.3 kB / 0.7745 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.6916, allocations: 0.5834 MB / 0.7751 GB, free: 9.707 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.692, allocations: 0.799 MB / 0.7759 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.6922, allocations: 31.28 kB / 0.7759 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.6923, allocations: 121.4 kB / 0.776 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of SimCode: time 2.81e-07/0.6924, allocations: 4 kB / 0.776 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.7217, allocations: 6.809 MB / 0.7827 GB, free: 1.996 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.722, allocations: 199 kB / 0.7829 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/2.966, allocations: 0 / 0.7829 GB, free: 1.801 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)