Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.003051/0.003051, allocations: 169 kB / 7.646 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.597/1.597, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.222/3.222, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.001477/0.001477, allocations: 111.3 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.761e-05, allocations: 4 kB / 0.5536 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9505/0.9505, allocations: 82.29 MB / 0.634 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.307/1.258, allocations: 119.1 MB / 0.7503 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005238/1.258, allocations: 107.9 kB / 0.7504 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.09015/1.348, allocations: 17.98 MB / 0.768 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.498e-06/1.349, allocations: 224 / 0.768 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.353e-05/1.349, allocations: 8 kB / 0.768 GB, free: 1.371 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.002433/1.351, allocations: 0.5836 MB / 0.7685 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001113/1.351, allocations: 8.031 kB / 0.7685 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/1.352, allocations: 51.67 kB / 0.7686 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/1.353, allocations: 355.7 kB / 0.7689 GB, free: 300 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/1.353, allocations: 4 kB / 0.7689 GB, free: 296 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.749e-05/1.353, allocations: 12 kB / 0.7689 GB, free: 284 kB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006256/1.354, allocations: 124.9 kB / 0.7691 GB, free: 160 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/1.354, allocations: 154.5 kB / 0.7692 GB, free: 0 / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.598e-05/1.354, allocations: 4.047 kB / 0.7692 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/1.355, allocations: 0 / 0.7692 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/1.355, allocations: 8 kB / 0.7692 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/1.358, allocations: 0.8112 MB / 0.77 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/1.358, allocations: 134.6 kB / 0.7701 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/1.359, allocations: 88.86 kB / 0.7702 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/1.359, allocations: 15.92 kB / 0.7702 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.94e-05/1.359, allocations: 34.55 kB / 0.7703 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 2.815e-06/1.359, allocations: 0 / 0.7703 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0007085/1.359, allocations: 155.4 kB / 0.7704 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.121e-05/1.36, allocations: 51.41 kB / 0.7705 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/1.361, allocations: 330.4 kB / 0.7708 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/1.361, allocations: 25.7 kB / 0.7708 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/1.361, allocations: 216.1 kB / 0.771 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/1.361, allocations: 59.11 kB / 0.7711 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/1.361, allocations: 0 / 0.7711 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004238/1.362, allocations: 350.7 kB / 0.7714 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/1.362, allocations: 40 kB / 0.7714 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/1.362, allocations: 40 kB / 0.7715 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/1.362, allocations: 49.83 kB / 0.7715 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.362, allocations: 0 / 0.7715 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004678/1.363, allocations: 175 kB / 0.7717 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/1.363, allocations: 4 kB / 0.7717 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.363, allocations: 0 / 0.7717 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.021e-05/1.363, allocations: 8 kB / 0.7717 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/1.363, allocations: 51.97 kB / 0.7718 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/1.363, allocations: 0 / 0.7718 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/1.364, allocations: 19.92 kB / 0.7718 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/1.364, allocations: 0 / 0.7718 GB, free: 13.25 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 0.0001826/1.364, allocations: 112.9 kB / 0.7719 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000473/1.365, allocations: 170.2 kB / 0.772 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.37e-05/1.365, allocations: 27.62 kB / 0.7721 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/1.365, allocations: 39.25 kB / 0.7721 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.365, allocations: 4 kB / 0.7721 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.365, allocations: 3.984 kB / 0.7721 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.365, allocations: 0 / 0.7721 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008093/1.366, allocations: 337.8 kB / 0.7724 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.366, allocations: 0 / 0.7724 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/1.366, allocations: 59.91 kB / 0.7725 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/1.366, allocations: 0 / 0.7725 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/1.366, allocations: 0 / 0.7725 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/1.366, allocations: 4 kB / 0.7725 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.366, allocations: 0 / 0.7725 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/1.367, allocations: 323.9 kB / 0.7728 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/1.367, allocations: 120.5 kB / 0.7729 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/1.367, allocations: 64 / 0.7729 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/1.368, allocations: 15.98 kB / 0.7729 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/1.368, allocations: 7.984 kB / 0.7729 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/1.368, allocations: 8 kB / 0.773 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005816/1.369, allocations: 268.5 kB / 0.7732 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/1.369, allocations: 0 / 0.7732 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006646/1.369, allocations: 75.84 kB / 0.7733 GB, free: 11.62 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.001808/1.371, allocations: 1.021 MB / 0.7743 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004164/1.371, allocations: 108.9 kB / 0.7744 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.371, allocations: 4 kB / 0.7744 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/1.372, allocations: 63.94 kB / 0.7744 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008647/1.373, allocations: 63.73 kB / 0.7745 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/1.375, allocations: 0.5795 MB / 0.7751 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/1.376, allocations: 0.8068 MB / 0.7759 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002062/1.376, allocations: 39.28 kB / 0.7759 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/1.376, allocations: 111.4 kB / 0.776 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of SimCode: time 1.173e-06/1.376, allocations: 7.938 kB / 0.776 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05955/1.436, allocations: 6.808 MB / 0.7827 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004634/1.436, allocations: 196 kB / 0.7829 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.799/5.235, allocations: 4 kB / 0.7829 GB, free: 1.754 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)