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.001638/0.001638, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7233/0.7233, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 93.53 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.67e-05/5.697e-05, allocations: 3.344 kB / 0.5602 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1608, allocations: 82.3 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6783/0.8391, allocations: 119.8 MB / 0.7575 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.8394, allocations: 109.7 kB / 0.7576 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04375/0.8832, allocations: 18.22 MB / 0.7754 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8832, allocations: 4 kB / 0.7754 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.129e-05/0.8833, allocations: 8 kB / 0.7754 GB, free: 18.75 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009318/0.8842, allocations: 0.5724 MB / 0.776 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.8843, allocations: 16.03 kB / 0.776 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.118e-05/0.8844, allocations: 60.66 kB / 0.7761 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.8845, allocations: 51.73 kB / 0.7761 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.885, allocations: 344.5 kB / 0.7764 GB, free: 17.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.8851, allocations: 19.44 kB / 0.7765 GB, free: 17.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.8851, allocations: 23.31 kB / 0.7765 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.8855, allocations: 180.5 kB / 0.7767 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.8855, allocations: 0 / 0.7767 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.8855, allocations: 10.5 kB / 0.7767 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.8855, allocations: 4 kB / 0.7767 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.8858, allocations: 146.1 kB / 0.7768 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.8869, allocations: 0.8695 MB / 0.7777 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.8872, allocations: 142.5 kB / 0.7778 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.8873, allocations: 97.86 kB / 0.7779 GB, free: 16.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.8873, allocations: 4 kB / 0.7779 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.8874, allocations: 41.25 kB / 0.7779 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.8874, allocations: 0 / 0.7779 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003529/0.8878, allocations: 174.5 kB / 0.7781 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.8878, allocations: 51.41 kB / 0.7781 GB, free: 16.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.8882, allocations: 368.6 kB / 0.7785 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.8883, allocations: 29.14 kB / 0.7785 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.8884, allocations: 205.2 kB / 0.7787 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.8884, allocations: 68.81 kB / 0.7788 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.8885, allocations: 4 kB / 0.7788 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.8886, allocations: 351 kB / 0.7791 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.8887, allocations: 41.38 kB / 0.7792 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-05/0.8888, allocations: 45.14 kB / 0.7792 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.064e-05/0.8888, allocations: 54 kB / 0.7793 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8889, allocations: 0 / 0.7793 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002428/0.8891, allocations: 178.2 kB / 0.7794 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.8891, allocations: 7.984 kB / 0.7794 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8891, allocations: 0 / 0.7794 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.8892, allocations: 4 kB / 0.7794 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.8894, allocations: 55.91 kB / 0.7795 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.8894, allocations: 7.938 kB / 0.7795 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.8896, allocations: 23.27 kB / 0.7795 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.8896, allocations: 11.44 kB / 0.7795 GB, free: 15.09 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 (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.309e-05/0.8897, allocations: 120.4 kB / 0.7796 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.8898, allocations: 35.53 kB / 0.7797 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.842e-05/0.8899, allocations: 39.25 kB / 0.7797 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.8899, allocations: 7.984 kB / 0.7797 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8899, allocations: 3.938 kB / 0.7797 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.8899, allocations: 3.984 kB / 0.7797 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.8903, allocations: 378 kB / 0.7801 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8903, allocations: 0 / 0.7801 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.8906, allocations: 59.95 kB / 0.7802 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.8906, allocations: 0 / 0.7802 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.8906, allocations: 7.25 kB / 0.7802 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.8906, allocations: 0 / 0.7802 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8906, allocations: 0 / 0.7802 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.891, allocations: 341.2 kB / 0.7805 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.8911, allocations: 122.8 kB / 0.7806 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.8912, allocations: 3.125 kB / 0.7806 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.8914, allocations: 19.17 kB / 0.7806 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.8914, allocations: 11.98 kB / 0.7806 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.8914, allocations: 0 / 0.7806 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003291/0.8918, allocations: 302.1 kB / 0.7809 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8918, allocations: 0 / 0.7809 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003698/0.8922, allocations: 87.03 kB / 0.781 GB, free: 13.76 MB / 0.5105 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.0009603/0.8931, allocations: 1.032 MB / 0.782 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.8934, allocations: 119.7 kB / 0.7821 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8934, allocations: 0 / 0.7821 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.8935, allocations: 69.75 kB / 0.7822 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.894, allocations: 88.88 kB / 0.7823 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.8953, allocations: 0.5971 MB / 0.7829 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.8957, allocations: 0.8022 MB / 0.7836 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001863/0.8959, allocations: 34.97 kB / 0.7837 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.896, allocations: 118.3 kB / 0.7838 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/0.8961, allocations: 0 / 0.7838 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.9235, allocations: 9.343 MB / 0.7929 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003936/0.9239, allocations: 208 kB / 0.7931 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/3.266, allocations: 0 / 0.7931 GB, free: 1.852 MB / 0.5105 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)