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.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007515/0.007515, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001969, allocations: 197.7 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8995/0.8995, allocations: 135.6 MB / 426.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 0.5858 GB, free: 3.164 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3535, allocations: 81.03 MB / 0.665 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001831/0.3554, allocations: 1.42 MB / 0.6663 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003011/0.3584, allocations: 2.883 MB / 0.6692 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.3584, allocations: 0 / 0.6692 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.3585, allocations: 3.938 kB / 0.6692 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.3585, allocations: 14.7 kB / 0.6692 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.3615, allocations: 1.576 MB / 0.6707 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.3616, allocations: 41.7 kB / 0.6708 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.172e-05/0.3616, allocations: 4.578 kB / 0.6708 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.324e-05/0.3616, allocations: 15.53 kB / 0.6708 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.383e-05/0.3617, allocations: 28 kB / 0.6708 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.3617, allocations: 1.094 kB / 0.6708 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.3635, allocations: 1.524 MB / 0.6723 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.3635, allocations: 5.266 kB / 0.6723 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.3636, allocations: 23.2 kB / 0.6723 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.3648, allocations: 1.101 MB / 0.6734 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3648, allocations: 0 / 0.6734 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3648, allocations: 0 / 0.6734 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.3648, allocations: 1.094 kB / 0.6734 GB, free: 0.8555 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004412/0.3652, allocations: 0.5349 MB / 0.6739 GB, free: 340 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.3653, allocations: 9.5 kB / 0.6739 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.348e-05/0.3653, allocations: 106 kB / 0.674 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.3654, allocations: 86.61 kB / 0.6741 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3655, allocations: 254.3 kB / 0.6743 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.3656, allocations: 155.8 kB / 0.6745 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.3656, allocations: 150.6 kB / 0.6746 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.451e-05/0.3657, allocations: 106.2 kB / 0.6747 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.3658, allocations: 75.28 kB / 0.6748 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.3658, allocations: 159.8 kB / 0.675 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.269e-05/0.3659, allocations: 154.6 kB / 0.6751 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.806e-05/0.366, allocations: 154.5 kB / 0.6753 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.3663, allocations: 470 kB / 0.6757 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.983e-05/0.3664, allocations: 166.2 kB / 0.6759 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.3664, allocations: 85.3 kB / 0.6759 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.3665, allocations: 75.28 kB / 0.676 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.3665, allocations: 107 kB / 0.6761 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 3.857e-06/0.3665, allocations: 3.984 kB / 0.6761 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.799e-05/0.3666, allocations: 36.09 kB / 0.6762 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/0.3667, allocations: 132 kB / 0.6763 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.3668, allocations: 135.2 kB / 0.6764 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3668, allocations: 25.7 kB / 0.6764 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.3669, allocations: 90.95 kB / 0.6765 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-06/0.3669, allocations: 16 / 0.6765 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.3669, allocations: 14.88 kB / 0.6765 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3671, allocations: 324.4 kB / 0.6768 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.3671, allocations: 3.625 kB / 0.6769 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.555e-05/0.3671, allocations: 8.047 kB / 0.6769 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/0.3672, allocations: 21.73 kB / 0.6769 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3672, allocations: 0 / 0.6769 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001127/0.3673, allocations: 53.3 kB / 0.6769 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3673, allocations: 5.156 kB / 0.6769 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.3673, allocations: 7.156 kB / 0.6769 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.3673, allocations: 3.938 kB / 0.6769 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.3673, allocations: 0 / 0.6769 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/0.3674, allocations: 1.75 kB / 0.6769 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.3674, allocations: 3.938 kB / 0.677 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3674, allocations: 1.688 kB / 0.677 GB, free: 13.12 MB / 0.5137 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.3675, allocations: 190.8 kB / 0.6771 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.3676, allocations: 120.2 kB / 0.6773 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.3676, allocations: 114.4 kB / 0.6774 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-05/0.3677, allocations: 181.9 kB / 0.6775 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-05/0.3678, allocations: 180.2 kB / 0.6777 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-05/0.3679, allocations: 186 kB / 0.6779 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.3681, allocations: 419.7 kB / 0.6783 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.892e-05/0.3682, allocations: 101 kB / 0.6784 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.3682, allocations: 106.8 kB / 0.6785 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-05/0.3683, allocations: 181.8 kB / 0.6787 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.891e-05/0.3684, allocations: 184.2 kB / 0.6788 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.298e-05/0.3685, allocations: 181.8 kB / 0.679 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.271e-05/0.3686, allocations: 176.3 kB / 0.6792 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.3687, allocations: 312.9 kB / 0.6795 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.038e-05/0.3688, allocations: 187.9 kB / 0.6796 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/0.3689, allocations: 186 kB / 0.6798 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.369, allocations: 106.8 kB / 0.6799 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.3691, allocations: 176.3 kB / 0.6801 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.3691, allocations: 114.6 kB / 0.6802 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.632e-05/0.3692, allocations: 98.27 kB / 0.6803 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3692, allocations: 0 / 0.6803 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007067/0.3699, allocations: 285.7 kB / 0.6806 GB, free: 9.43 MB / 0.5137 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.3712, allocations: 1.178 MB / 0.6817 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.437e-05/0.3713, allocations: 45.78 kB / 0.6818 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3713, allocations: 1.062 kB / 0.6818 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.3714, allocations: 4 kB / 0.6818 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.3718, allocations: 456.5 kB / 0.6822 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.3732, allocations: 1.611 MB / 0.6838 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3735, allocations: 0.6856 MB / 0.6844 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.314e-05/0.3735, allocations: 0 / 0.6844 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.3735, allocations: 21.53 kB / 0.6845 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.3735, allocations: 0 / 0.6845 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.321/1.694, allocations: 7.046 MB / 0.6914 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/12.32, allocations: 11.3 kB / 0.6914 GB, free: 2.141 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)