Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.001333/0.001333, allocations: 174.8 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.7361/0.7361, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.63/1.63, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.0009789/0.000979, allocations: 86.08 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.714e-05, allocations: 3.781 kB / 0.5602 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1787, allocations: 82.31 MB / 0.6406 GB, free: 7.688 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5755/0.7542, allocations: 121.9 MB / 0.7596 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.7545, allocations: 108.4 kB / 0.7597 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05466/0.8092, allocations: 22.21 MB / 0.7814 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8093, allocations: 0 / 0.7814 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.019e-05/0.8093, allocations: 12 kB / 0.7814 GB, free: 13.58 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001687/0.811, allocations: 0.7584 MB / 0.7822 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/0.8111, allocations: 8.031 kB / 0.7822 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002085/0.8113, allocations: 89.58 kB / 0.7823 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.8116, allocations: 75.06 kB / 0.7823 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009576/0.8125, allocations: 437.2 kB / 0.7827 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.8126, allocations: 35.31 kB / 0.7828 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.8127, allocations: 50.06 kB / 0.7828 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008903/0.8136, allocations: 408 kB / 0.7832 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.8137, allocations: 3.906 kB / 0.7832 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.8137, allocations: 26.38 kB / 0.7832 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.8137, allocations: 12 kB / 0.7833 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006352/0.8144, allocations: 328.1 kB / 0.7836 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.8171, allocations: 1.541 MB / 0.7851 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.8176, allocations: 316.8 kB / 0.7854 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.8181, allocations: 335 kB / 0.7857 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.8181, allocations: 4 kB / 0.7857 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.8182, allocations: 33.69 kB / 0.7857 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 2.595e-06/0.8182, allocations: 4 kB / 0.7857 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0006545/0.8188, allocations: 350 kB / 0.7861 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.8189, allocations: 59.34 kB / 0.7861 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/0.8196, allocations: 422.7 kB / 0.7865 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.8196, allocations: 36.08 kB / 0.7866 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.8199, allocations: 269.3 kB / 0.7868 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.82, allocations: 143.2 kB / 0.787 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/0.82, allocations: 7.312 kB / 0.787 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.8202, allocations: 363.4 kB / 0.7873 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.8204, allocations: 104.8 kB / 0.7874 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.8206, allocations: 113.8 kB / 0.7875 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.8208, allocations: 124.4 kB / 0.7876 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.8208, allocations: 0.7656 kB / 0.7876 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005273/0.8214, allocations: 365.2 kB / 0.788 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.8214, allocations: 4.938 kB / 0.788 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.8214, allocations: 0 / 0.788 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.8214, allocations: 7.984 kB / 0.788 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.822, allocations: 135.2 kB / 0.7881 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/0.822, allocations: 11.94 kB / 0.7881 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.8223, allocations: 54.7 kB / 0.7882 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.8224, allocations: 11.44 kB / 0.7882 GB, free: 8.02 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 (46): * Single equations (assignments): 46 * 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.0001036/0.8225, allocations: 123.9 kB / 0.7883 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.97e-05/0.8226, allocations: 47.44 kB / 0.7884 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.8227, allocations: 60.56 kB / 0.7884 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.8227, allocations: 4 kB / 0.7884 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.8227, allocations: 0 / 0.7884 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.8228, allocations: 11.94 kB / 0.7884 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007596/0.8235, allocations: 0.5592 MB / 0.789 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.8235, allocations: 0 / 0.789 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/0.8241, allocations: 137.6 kB / 0.7891 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.944e-06/0.8241, allocations: 0 / 0.7891 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.8241, allocations: 11.06 kB / 0.7891 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.8241, allocations: 0 / 0.7891 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8242, allocations: 0 / 0.7891 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008245/0.825, allocations: 0.6161 MB / 0.7897 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.8252, allocations: 131.1 kB / 0.7898 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.8252, allocations: 14.5 kB / 0.7899 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.8255, allocations: 23.77 kB / 0.7899 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.8256, allocations: 22.84 kB / 0.7899 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.8256, allocations: 15.17 kB / 0.7899 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004157/0.826, allocations: 339.5 kB / 0.7902 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.8e-07/0.826, allocations: 0 / 0.7902 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005286/0.8266, allocations: 153.1 kB / 0.7904 GB, free: 6.164 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.001433/0.828, allocations: 1.316 MB / 0.7917 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004616/0.8285, allocations: 293 kB / 0.792 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8285, allocations: 0 / 0.792 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.8287, allocations: 168.2 kB / 0.7921 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.8293, allocations: 119.9 kB / 0.7922 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.8312, allocations: 1.019 MB / 0.7932 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.8317, allocations: 0.8853 MB / 0.7941 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000201/0.8319, allocations: 56.36 kB / 0.7941 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.8321, allocations: 203.4 kB / 0.7943 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.8321, allocations: 0 / 0.7943 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.859, allocations: 12.53 MB / 0.8066 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.8592, allocations: 205.1 kB / 0.8068 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/3.133, allocations: 0 / 0.8068 GB, free: 6.219 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)