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_OneUTube.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_OneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.001602/0.001603, allocations: 174.7 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.7026/0.7026, 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.499/1.499, allocations: 221.3 MB / 400.4 MB, free: 5.809 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.001237/0.001237, allocations: 97.47 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.737e-05, allocations: 4.25 kB / 0.5602 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1546, allocations: 82.3 MB / 0.6406 GB, free: 7.672 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6607/0.8154, allocations: 123.6 MB / 0.7613 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.8158, allocations: 113.4 kB / 0.7614 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02228/0.8381, allocations: 8.001 MB / 0.7692 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.248e-06/0.8381, allocations: 0 / 0.7692 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.199e-05/0.8382, allocations: 0 / 0.7692 GB, free: 21.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009661/0.8391, allocations: 491 kB / 0.7697 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/0.8392, allocations: 11.62 kB / 0.7697 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.8393, allocations: 34.41 kB / 0.7697 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.8393, allocations: 7.719 kB / 0.7697 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.8396, allocations: 191.9 kB / 0.7699 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.8396, allocations: 3.938 kB / 0.7699 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.8396, allocations: 3.812 kB / 0.7699 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.8398, allocations: 60.33 kB / 0.77 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.8398, allocations: 0 / 0.77 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.8399, allocations: 0 / 0.77 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.8399, allocations: 0 / 0.77 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.784e-05/0.8399, allocations: 22.95 kB / 0.77 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.8402, allocations: 190.9 kB / 0.7702 GB, free: 21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.829e-05/0.8403, allocations: 48.34 kB / 0.7702 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.8403, allocations: 37.69 kB / 0.7703 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.8404, allocations: 3.984 kB / 0.7703 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.8404, allocations: 30.56 kB / 0.7703 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.8404, allocations: 3.812 kB / 0.7703 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.000226/0.8406, allocations: 85.89 kB / 0.7704 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.8407, allocations: 51.41 kB / 0.7704 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.8409, allocations: 138.9 kB / 0.7706 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.8409, allocations: 29.64 kB / 0.7706 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.841, allocations: 105.8 kB / 0.7707 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.841, allocations: 26.64 kB / 0.7707 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.841, allocations: 0 / 0.7707 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.8412, allocations: 326.1 kB / 0.771 GB, free: 20.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.8412, allocations: 26.02 kB / 0.7711 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.8413, allocations: 25.86 kB / 0.7711 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.8413, allocations: 30.36 kB / 0.7711 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8413, allocations: 0 / 0.7711 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001215/0.8414, allocations: 95.25 kB / 0.7712 GB, free: 20.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.8415, allocations: 7.906 kB / 0.7712 GB, free: 20.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.8415, allocations: 3.594 kB / 0.7712 GB, free: 20.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.8415, allocations: 3.938 kB / 0.7712 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.336e-06/0.8415, allocations: 4 kB / 0.7712 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.8416, allocations: 0.5469 kB / 0.7712 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.8416, allocations: 3.938 kB / 0.7712 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.8416, allocations: 3.844 kB / 0.7712 GB, free: 20.16 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 8.347e-05/0.8417, allocations: 108.9 kB / 0.7713 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.8417, allocations: 10.75 kB / 0.7714 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.842, allocations: 210.1 kB / 0.7716 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.661e-05/0.8421, allocations: 176.3 kB / 0.7717 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.182e-05/0.8422, allocations: 184.2 kB / 0.7719 GB, free: 19.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.651e-05/0.8423, allocations: 176.3 kB / 0.7721 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.8426, allocations: 448 kB / 0.7725 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.491e-05/0.8426, allocations: 108.8 kB / 0.7726 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.8427, allocations: 101 kB / 0.7727 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.322e-05/0.8428, allocations: 184.2 kB / 0.7729 GB, free: 18.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.89e-05/0.8429, allocations: 176.3 kB / 0.773 GB, free: 18.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001094/0.843, allocations: 187.3 kB / 0.7732 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.854e-05/0.8431, allocations: 180.3 kB / 0.7734 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.8433, allocations: 318.9 kB / 0.7737 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.8435, allocations: 212.8 kB / 0.7739 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.8437, allocations: 180.2 kB / 0.7741 GB, free: 17.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.8438, allocations: 105 kB / 0.7742 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.8439, allocations: 188.1 kB / 0.7743 GB, free: 16.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.844, allocations: 108.5 kB / 0.7745 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002852/0.8443, allocations: 265.5 kB / 0.7747 GB, free: 16.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.8443, allocations: 0 / 0.7747 GB, free: 16.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001074/0.8454, allocations: 240.1 kB / 0.7749 GB, free: 16.58 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.001982/0.8474, allocations: 1.077 MB / 0.776 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.8475, allocations: 71.44 kB / 0.7761 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8476, allocations: 0 / 0.7761 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.8476, allocations: 0 / 0.7761 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.8481, allocations: 0.54 MB / 0.7766 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009424/0.8491, allocations: 345.7 kB / 0.7769 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.8495, allocations: 0.7043 MB / 0.7776 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.8495, allocations: 7.984 kB / 0.7776 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.8496, allocations: 26.06 kB / 0.7776 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/0.8496, allocations: 0 / 0.7776 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.8729, allocations: 5.621 MB / 0.7831 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.8733, allocations: 236 kB / 0.7833 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.768, allocations: 0 / 0.7833 GB, free: 8.258 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)