Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.001605/0.001605, 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.9331/0.9331, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.544/1.544, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.0009099/0.00091, allocations: 93.72 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.832e-05/4.843e-05, allocations: 4.812 kB / 0.5602 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1789, allocations: 82.31 MB / 0.6406 GB, free: 7.684 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.756/0.935, allocations: 123.6 MB / 0.7613 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.9354, allocations: 115 kB / 0.7614 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02274/0.9581, allocations: 8.481 MB / 0.7697 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.537e-06/0.9581, allocations: 0 / 0.7697 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.9582, allocations: 3.688 kB / 0.7697 GB, free: 21.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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009173/0.9591, allocations: 0.5657 MB / 0.7703 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.9592, allocations: 7.531 kB / 0.7703 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.369e-05/0.9592, allocations: 43.53 kB / 0.7703 GB, free: 21.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.9593, allocations: 19.22 kB / 0.7703 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.9596, allocations: 219.4 kB / 0.7705 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.9596, allocations: 4 kB / 0.7705 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.9596, allocations: 0 / 0.7705 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.9598, allocations: 110.6 kB / 0.7706 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.9598, allocations: 3.844 kB / 0.7706 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.9599, allocations: 3.984 kB / 0.7706 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.9599, allocations: 3.984 kB / 0.7707 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.96, allocations: 71.91 kB / 0.7707 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.9603, allocations: 280.6 kB / 0.771 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.9604, allocations: 123.9 kB / 0.7711 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.9605, allocations: 113.6 kB / 0.7712 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.9605, allocations: 0 / 0.7712 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.9606, allocations: 38.41 kB / 0.7712 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 1.122e-06/0.9606, allocations: 0 / 0.7712 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.0003096/0.9609, allocations: 225 kB / 0.7715 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.9609, allocations: 51.41 kB / 0.7715 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.9612, allocations: 230.4 kB / 0.7717 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.9612, allocations: 29.64 kB / 0.7718 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.9613, allocations: 127.5 kB / 0.7719 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.9614, allocations: 110.7 kB / 0.772 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.9614, allocations: 0 / 0.772 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9615, allocations: 344.7 kB / 0.7723 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.9616, allocations: 82.77 kB / 0.7724 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.225e-05/0.9617, allocations: 76.95 kB / 0.7725 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.316e-05/0.9618, allocations: 98.06 kB / 0.7726 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.9618, allocations: 4.031 kB / 0.7726 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002391/0.962, allocations: 221.6 kB / 0.7728 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.9621, allocations: 9.094 kB / 0.7728 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.9621, allocations: 0 / 0.7728 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.9621, allocations: 3.984 kB / 0.7728 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.041e-06/0.9621, allocations: 0 / 0.7728 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.9621, allocations: 0 / 0.7728 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.9622, allocations: 15.75 kB / 0.7728 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.9622, allocations: 4 kB / 0.7728 GB, free: 19.43 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 7.53e-05/0.9623, allocations: 109 kB / 0.7729 GB, free: 19.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.9623, allocations: 23.72 kB / 0.7729 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.9628, allocations: 0.5708 MB / 0.7735 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.911e-05/0.9628, allocations: 180.3 kB / 0.7737 GB, free: 18.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-05/0.9629, allocations: 180.2 kB / 0.7738 GB, free: 18.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.34e-05/0.963, allocations: 187.9 kB / 0.774 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.9634, allocations: 0.5447 MB / 0.7745 GB, free: 17.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-05/0.9634, allocations: 101 kB / 0.7746 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.9635, allocations: 105 kB / 0.7747 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.446e-05/0.9636, allocations: 188.1 kB / 0.7749 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.568e-05/0.9637, allocations: 180.3 kB / 0.7751 GB, free: 16.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.061e-05/0.9637, allocations: 180.2 kB / 0.7753 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.598e-05/0.9638, allocations: 180.3 kB / 0.7754 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.964, allocations: 330.4 kB / 0.7758 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.9644, allocations: 359.8 kB / 0.7761 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.9646, allocations: 184.2 kB / 0.7763 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.9648, allocations: 105 kB / 0.7764 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.9648, allocations: 180.3 kB / 0.7765 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.9649, allocations: 104.9 kB / 0.7766 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001092/0.966, allocations: 1.129 MB / 0.7777 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.966, allocations: 3.938 kB / 0.7778 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001038/0.967, allocations: 293.8 kB / 0.778 GB, free: 14.32 MB / 0.5105 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.001655/0.9687, allocations: 1.1 MB / 0.7791 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.9689, allocations: 186.8 kB / 0.7793 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9689, allocations: 0 / 0.7793 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.678e-06/0.969, allocations: 3.938 kB / 0.7793 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.9694, allocations: 0.5378 MB / 0.7798 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.9705, allocations: 0.5225 MB / 0.7803 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.971, allocations: 0.7589 MB / 0.7811 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.31e-05/0.9711, allocations: 11.98 kB / 0.7811 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.9712, allocations: 55.8 kB / 0.7811 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of SimCode: time 3.51e-07/0.9712, allocations: 0 / 0.7811 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.998, allocations: 7.389 MB / 0.7883 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/0.9982, allocations: 239.5 kB / 0.7886 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/3.138, allocations: 6.922 kB / 0.7886 GB, free: 3.699 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)